JavaScript is required to use Bungie.net

Help

Help us help you.
12/24/2021 10:01:53 PM
2

Destiny 2 API oauth redirect

I'm working on a python based item manager, I've got to the point where I need to redirect to my application. but as it is written in python and not on a website, I don't see a clear way to do this without crafting a website from scratch and having it redirect there. Does anyone know if I can redirect it to the code itself? if so, how would I go about doing this? If not, would a localhost website work as a redirect path? for reference, heres my code trying to get the oath with certain data excluded HEADERS just has the api key newThing = requests.get(f"https://www.bungie.net/en/oauth/authorize?client_id=_____&response_type=code", headers=HEADERS)
English
#Help #api

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • Hello there, Not sure if you got help with this but i am a Python developer for a lib called aiobungie. Its basically a framework that lets folks build applications using Bungie's API without the need of implementing the requests yourself. This is an example https://github.com/nxtlo/aiobungie/blob/master/examples/user_oauth2.py on what you're trying to do. There're also multiple examples like how to download the manifest and view items from it. Feel free to check it out!.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • You might honestly get a better answer on the Reddit my man. Bungie doesn’t really like discussing their code here

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

    2 Replies
    You are not allowed to view this content.
    ;
    preload icon
    preload icon
    preload icon