Get data from api easier
Project description
EzApiData
Get available data from api's that you can use
Why I made this api
- It would be a pain to have to make request to a api for data so I decided why not make it easier for everyone by helping you get the data in a simple function
When getting an api key I recommend using a .env so it will be more protected
import os
import dotenv
dotenv.load_dotenv()
EXAMPLE_API(os.getenv("<VAR-SET-FOR-API-KEY>"))
Example to get info from api
from ezapidata.ApiList.games.game import game_API
import os
import dotenv
dotenv.load_dotenv()
#Must always have a valid API key which can be acquired from the Brawl Stars API and put it in <API-KEY>
API_CALL = game_API(os.getenv("<VAR-SET-FOR-API-KEY>"))
#returns player stats
API_CALL.get_data("<PASS-PARAMETERS>")
used api links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
EzApiData-0.1.3.1.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for EzApiData-0.1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49bd06f13f7a746880527ac4340ffc30af2b0892b9ea30635815ec05cca7622e |
|
MD5 | b110aa9e22877a36fa1e1083bd950f4b |
|
BLAKE2b-256 | aa58e9e9e85b1cfde9b442ab3013c8d2fd69b3c254dce6291340e4f602f52165 |