EVA API
This is the unofficial API for EVA.
It's made for getting stats and previous games from a Player easily through the EVA API.
There is also some other basic features like getting booking sessions from any EVA location.
Table of Contents
Installation
pip install EVApy
Script Example
- Here is an example of a simple script using EVA API
import asyncio
import EVA.EVA as eva
async def main():
# Get stats for a given player with it's discriminant
# Ex. 'EVA_USERNAME#12345'
player_stats = await eva.getStats(username='EVA_USERNAME#12345')
# Get all EVA cities for getting more informations
# We need the ID of the city actually
cities = await eva.getCities()
# For example we get the ID of the first location in 'cities'.
# It is the location ID for Tours city.
location = await eva.getLocation(cities[0]['id']) # So location['id] = 15
# So we can finally get Last Games of the player
# We use the 'userId' of the player located in 'player_stats['player']['userId']'
# And location ID from 'location['id']'
last_games = await eva.getLastGames(player_stats['player']['userId'], 1, location['id'], items_limit=5)
# We print every results to check values
# Once every requests are done before, you can skip this part
# And do whatever you want with these data.
print("Player stats: ", player_stats, "\n")
print("Last Games of this Player: ", last_games, "\n")
print("EVA Location: ", location, "\n")
print("EVA Cities: ", cities, "\n")
asyncio.run(main())
- Or you can use it in CLI
>>> import asyncio
>>> import EVA.EVA as eva
>>> print(asyncio.run(eva.getStats(username='EVA_USERNAME#12345')))
Contributing
Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/NewFeature) - Commit your Changes (
git commit -m 'Add some NewFeature') - Push to the Branch (
git push origin feature/NewFeature) - Open a Pull Request
Thanks to every contributors who have contributed in this project.
License
Distributed under the MIT License. See LICENSE for more information.
Author/Maintainer: Garoh | Discord: GarohRL#4449
Metadata
Release files for EVApy 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| EVApy-1.0.0.tar.gz | 9.2 kB | Without provenance | Details for EVApy-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| EVApy-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for EVApy-1.0.0-py3-none-any.whl |
Total release size: 17.9 kB
Release files / EVApy-1.0.0.tar.gz
| Download URL | EVApy-1.0.0.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bcc2aae1e16c2ebac28b23483e7a17ff1a2c87d0e4892bb6bcea9e1be9e34881
|
|
BLAKE2b-256 checksum How to use checksums |
fc6a2bf3ff280582a58e37124ea61b090c355ddaa99adc5a16842d910fe116b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.4
|
Release files / EVApy-1.0.0-py3-none-any.whl
| Download URL | EVApy-1.0.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe5cec41cedb0ae02f03127adc9df808e1104a26e73940b8b0872fbf6de6b405
|
|
BLAKE2b-256 checksum How to use checksums |
08c130396a2b172ec521227960fc057423aa4f0a09529e33387d9fc0f7851297
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.4
|
Security for EVApy 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.