Skip to content

Instantly share code, notes, and snippets.

View silasiebert's full-sized avatar

Sila Georges Agiru Judick Siebert silasiebert

View GitHub Profile
@cortical-iv
cortical-iv / destiny2_api_intro.py
Last active March 17, 2023 03:55
Highly annotated introduction to the destiny2 api (Python)
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Getting Started using the Destiny 2 Api
An annotated guide to some of the public endpoints available for examining a user's
characters, items, and clan using the Destiny 2 API. You will need to use your api key for
this to work. Just insert it as a string where it says <my_api_key> in the beginning.
It is broken into four parts:
0: Imports, variables, and fixed parameters defined