Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cassiofb-dev/fide-api
FIDE ratings and info python FastAPI API
https://github.com/cassiofb-dev/fide-api
api fastapi fide fide-api fide-scraper
Last synced: about 1 month ago
JSON representation
FIDE ratings and info python FastAPI API
- Host: GitHub
- URL: https://github.com/cassiofb-dev/fide-api
- Owner: cassiofb-dev
- License: mit
- Created: 2022-10-08T21:36:32.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-28T22:59:52.000Z (4 months ago)
- Last Synced: 2024-12-21T01:12:09.632Z (about 2 months ago)
- Topics: api, fastapi, fide, fide-api, fide-scraper
- Language: Python
- Homepage: https://fide-api.vercel.app/docs
- Size: 403 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
FIDE APIPython FIDE scraper and HTTP API
About •
Features •
Usage •
Credits •
License![screenshot](screenshot.jpg)
## About
Working with FIDE oficial data is not simple, mainly because they don't have an API. That's the reason I made a simple API with FastAPI to scrape the data from their own website and provide it as JSON over HTTP requests.
## Features
Check it on:
[https://fide-api.vercel.app/docs](https://fide-api.vercel.app/docs)- Get top players list
- Get player info
- Get player history## Usage
### Docker (recommended)
You will need docker and docker-compose installed, from your terminal:
```sh
git clone https://github.com/cassiofb-dev/fide-apicd fide-api
docker compose up -d
```### Native
You will need git and python installed, from your terminal:
```sh
git clone https://github.com/cassiofb-dev/fide-apicd fide-api
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn src.api:app --reload
```To see the docs go to ``localhost:8000/docs``
## Credits
This project uses git, python.
The following python dependecies were used:
```txt
annotated-types==0.7.0
anyio==4.6.0
beautifulsoup4==4.12.3
certifi==2024.8.30
charset-normalizer==3.3.2
click==8.1.7
fastapi==0.115.0
h11==0.14.0
idna==3.10
orjson==3.10.7
pydantic==2.9.2
pydantic_core==2.23.4
requests==2.32.3
sniffio==1.3.1
soupsieve==2.6
starlette==0.38.6
typing_extensions==4.12.2
urllib3==2.2.3
uvicorn==0.31.0
```## License
MIT
---
> [Website](https://cassiofernando.com) ·
> GitHub [@cassiofb-dev](https://github.com/cassiofb-dev) ·
> Twitter [@cassiofb_dev](https://twitter.com/cassiofb_dev)