HatmanW / TaskTrackerExpansion

Task tracker expansion
1 stars 0 forks source link

API to github research #1

Open HatmanW opened 2 weeks ago

HatmanW commented 2 weeks ago

Currently trying to figure out how to interface with github.

tmccoid71 commented 2 weeks ago

To implement outside AIP use the requests library

https://medium.com/@sabii375375/exploring-external-api-consumption-in-django-4886eda2a9c7#:~:text=To%20consume%20the%20external%20API,to%20make%20the%20HTTP%20request.&text=Now%2C%20you%20have%20to%20create,to%20consume%20the%20external%20API.&text=%23Call%20to%20a%20method%20that%20calls%20the%20external%20API.

tmccoid71 commented 2 weeks ago

This article tells us how to integrate github with django

https://micropyramid.medium.com/integration-of-github-api-with-python-django-6f4253f9deeb

HatmanW commented 2 weeks ago

This article tells us how to integrate github with django

https://micropyramid.medium.com/integration-of-github-api-with-python-django-6f4253f9deeb

Looks like it's the Oauth packages for Django, https://djangopackages.org/grids/g/oauth/ Looks like this just got updated 3 days ago. We'll have to do some experimentation after this weekend, but this is looking more and more possible. :thumbsup:

tmccoid71 commented 3 days ago

We need to make this repo a Github App so that we can use user logins to authenticate

Some links to help us authenticate https://www.freecodecamp.org/news/set-up-github-oauth-on-django-for-user-authentication/

https://docs.github.com/en/apps