Skip to main content

Python API wrapper for the FNBR.co API

Project description

# PyFNBR
Python API wrapper for the FNBR.co API

## Development Team
Category | People
------------------- | --------------------------
Lead Developer | JustMaffie#5001 ([@JustMaffie](https://github.com/JustMaffie))

## Installation
1. `sudo python3.5 -m pip install pyfnbr`

## Installation (Manual)
1. `git clone https://github.com/JustMaffie/PyFNBR && cd PyFNBR`
1. `sudo python3.5 setup.py install`

## API Key
To be able to use this API library, you must request an API key for FNBR.co, for more information, go to [the FNBR.co docs](https://fnbr.co/api/docs)

## Example
The following example shows how to grab the current shop rotation
```py
import fnbr
import asyncio

key = "api_key_here"

async def start():
client = fnbr.FNBRClient(key)
cosmetic = await client.get_shop()
print(cosmetic)

loop = asyncio.get_event_loop()
loop.run_until_complete(start())
```
[Full Documentation](https://github.com/JustMaffie/PyFNBR/wiki)

## Licence

```
PyFNBR
Copyright (C) 2018 JustMaffie

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
```

## Quick notes
- This is not an official API wrapper, I am not associated with FNBR.co!
- The API can change at any given moment, when it does, I'll try to update this API wrapper as soon as possible, I cannot guarantee this library is always up to date, but I will try to keep it so!

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

PyFNBR-1.0.1.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file PyFNBR-1.0.1.tar.gz.

File metadata

  • Download URL: PyFNBR-1.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyFNBR-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6ba580e91895a39e8e68d4c7c22cd12304a7d2a7e64c7c68498539bbfa8a6eac
MD5 436c28d5fceb2617b2a0be8df9599c6e
BLAKE2b-256 ae69e883bd098bf1845a95f72f9166e560d088ae8c463955d4693ba8e2153dcc

See more details on using hashes here.

Supported by

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