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.2.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for EzApiData-0.1.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a90d8a2e2eb2f62f3524de9551c12d9fa629c6a0286abbdedf37c532b87698de |
|
MD5 | 3b77c6d9e0b06a5d5bb829b24fa07dba |
|
BLAKE2b-256 | 25714f7c09d945e2763292ae0902fad79d5c64f20a3057c601c532ad9517995b |