Reputation: 19
I have API key, testuserid and testChargingid. I do not know the baseURL. How can I fetch data from API using api key? I am looking for some ideas as I am new to this fetching data from API. Programming language can be either python or C#.
Upvotes: 0
Views: 361
Reputation: 15
That's not possible. To access an API you have to know it's URL, just like a website. You use the key as a means of authentication, this key can be put inside the query string or inside the header of your request. I suggest you do further research how you should call API's, maybe watch some video's about this topic. This is pretty basic knowledge.
Upvotes: 1