You most give more info about the API.
To show a normal way to access access a API,eg can use OpenWeather.
So use Requests and then use the Json respone that API give back.
(Dec-23-2022, 11:29 AM)TheGr8Schwazoli Wrote: Where do I place the DLL in my project folder and how do I code in my program to and use this API?This is strange question that is usally not askes at all when try to acess a API.
To show a normal way to access access a API,eg can use OpenWeather.
So use Requests and then use the Json respone that API give back.
import requests api_key = 'xxxxxxxxxxxxxxxx' city = 'london' celsius = 'metric' url = f'http://api.openweathermap.org/data/2.5/weather?q={city}&units={celsius}&APPID={api_key}' response = requests.get(url).json() print(response.get('name')) print(response['main'].get('temp'))
Output:London
11.34