Skip to main content

Async wrapper for Bungie API in Python

Project description

# Destipy

This is a asynchronous Python Wrapper around the Bungie API. It allows one to send requests to all given endpoints of the Bungie API seen in their [Bungie.Net API Documentation](https://bungie-net.github.io/multi/index.html).

NOTE:

ISSUES:

  • Most of the POST requests are not working but already available to choose, so don’t be surprised if they return nothing.

  • I will also overwork the design but just wanted to get something done and release it already :).

## Features

  • Every endpoint in the documentation is implemented, POST and GET.

  • Download and Extraction of the manifest to a .content file.

  • Download and Extraction of the manifest to a MongoDB database (COMING SOON).

## Examples

Here are a few examples:

## Usage

### Requirements

  • aiohttp

Install Destipy:

` $ pip install destipy `

In you project you can use it as a simple client without authentication by initialize a client with your Api Key like this:

` client = DestinyClient(<API_KEY>) user = await userEndpoints.GetBungieNetUserById(<MEMBERSHIP_ID>) `

If you plan on using a specific category of endpoints multiple times you can also use the endpoint category itself as a class:

` client = DestinyClient(<API_KEY>) user_endpoints = client.user user = await user_endpoints.GetBungieNetUserById(<MEMBERSHIP_ID>) `

## Contact

Discord: Sedamaso#5217

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

Destipy-0.0.1.tar.gz (31.6 kB view hashes)

Uploaded Source

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