Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/axsddlr/rpilocator_api

An Unofficial REST API for checking Raspberry Pi 4 availability https://rpilocator.com/
https://github.com/axsddlr/rpilocator_api

fastapi python rest-api web-scraping

Last synced: 5 days ago
JSON representation

An Unofficial REST API for checking Raspberry Pi 4 availability https://rpilocator.com/

Awesome Lists containing this project

README

        

# rpilocator api
### (for Raspberry Pi 4 Model B only)

An Unofficial REST API for [rpilocator.com](https://rpilocator.com/)

Built by [Andre Saddler](https://github.com/axsddlr/)

[![heroku](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)

## Current Endpoints

### `/pi4/`

- Method: `GET`
- Cached Time: 300 seconds (5 Minutes)
- Region: `US`, `UK`
- Response:

### `/pi4//`

- Method: `GET`
- Cached Time: 300 seconds (5 Minutes)
- Region: `1`, `2`, `4`, `8`

## Installation

### Source

```
$ git clone https://github.com/axsddlr/rpilocator_api/
$ cd rpilocator_api
$ pip install -r requirements.txt
```

### Usage

```
python3 main.py
OR
uvicorn main:app --reload --port 3000
```

## Contributing

Feel free to submit a [pull request](https://github.com/rehkloos/vlrggapi/pull/new/master) or an [issue](https://github.com/rehkloos/vlrggapi/issues/new)!

## License

The MIT License (MIT)