Skip to main content

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


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)

Uploaded Source

Built Distribution

EzApiData-0.1.3.2-py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page