Comments (29)
You can create one for yourself and try with that.
Make sure, you don't commit that. You can put that in the .env
file
For the project deployment, I'll use mine
from eazyloader.
Oops, forgot that.
In that case, you can return something like :
contributors = [
{
"name": "Contributor 1",
"username": "contri1",
"profile_url": "https://github.com/contri1/"
},
{
"name": "Contributor 2",
"username": "contri2",
"profile_url": "https://github.com/contri2/"
}
]
return contributors
from eazyloader.
Nope, I don't think so as the user need not perform any extra step for getting added as contributors
from eazyloader.
There were some minor bugs in the workflows.
Need not worry about them
from eazyloader.
Thanks for contributing @Tawishi
Feel free to add more features, and create issues
from eazyloader.
hey @ashutoshkrris. I would like to work on this issue
from eazyloader.
Sure @Tawishi , go ahead!
from eazyloader.
I am able to fetch the contributors, excluding the bot, using the Github API
where do we want these to be added in the backend?
from eazyloader.
you can create a file called contributors.py
within the core package @Tawishi
also, if possible use Github access tokens to increase the number of requests
from eazyloader.
from eazyloader.
@ashutoshkrris what data is needed out of this?
"author": {
"login": "ashutoshkrris",
"id": 47353498,
"node_id": "MDQ6VXNlcjQ3MzUzNDk4",
"avatar_url": "https://avatars.githubusercontent.com/u/47353498?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ashutoshkrris",
"html_url": "https://github.com/ashutoshkrris",
"followers_url": "https://api.github.com/users/ashutoshkrris/followers",
"following_url": "https://api.github.com/users/ashutoshkrris/following{/other_user}",
"gists_url": "https://api.github.com/users/ashutoshkrris/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ashutoshkrris/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ashutoshkrris/subscriptions",
"organizations_url": "https://api.github.com/users/ashutoshkrris/orgs",
"repos_url": "https://api.github.com/users/ashutoshkrris/repos",
"events_url": "https://api.github.com/users/ashutoshkrris/events{/privacy}",
"received_events_url": "https://api.github.com/users/ashutoshkrris/received_events",
"type": "User",
"site_admin": false
}
from eazyloader.
From this API, the avatar_url
and html_url
would be fine. Also, there is some other API to fetch user details such as it's name. Can we use that to get the contributor's name? @Tawishi
from eazyloader.
ok, so getting the avatar_url
and html_url
is done
looking for a way to get the contributor's name
from eazyloader.
This API might be useful : https://api.github.com/users/{username}
from eazyloader.
this works @ashutoshkrris
we have the avatar_url
html_url
and name
now
so contributors.py has 2 functions -
- for getting contributors
avatar_url
,html_url
,github username
- for getting name of contributor using
github username
from eazyloader.
We're making use of GITHUB API TOKENS in the headers, right?
from eazyloader.
almost forgot that. working on it
from eazyloader.
Hey @Tawishi
Head over to #13 and let's discuss this
from eazyloader.
i got the answer in the docs that is why I removed the comment @ashutoshkrris
Thank you for the update, anyways
from eazyloader.
we will use whose personal token here?
from eazyloader.
what should the data be returned as, any specific return type of the required contributor information like JSON, etc.?
from eazyloader.
you can just return a python dictionary from your function or method.
from eazyloader.
ok
from eazyloader.
you can return like this :
result = {
"username": username,
"name": name,
"profile_url": html_url
}
return result
from eazyloader.
we have a list of contributors, so a list of such dictionaries? or how do you suggest I represent multiple contributors?
from eazyloader.
all done. I will create a PR
Please ping here in case changes are needed.
from eazyloader.
does this need any documentation update?
from eazyloader.
@ashutoshkrris checks are failing. Could you please check if any changes are needed from my end?
from eazyloader.
Thank you @ashutoshkrris for your sypport and patience
from eazyloader.
Related Issues (20)
- [feature request]: Design a logo HOT 6
- Add animation to navbar links and buttons[feature request]: HOT 15
- [Bug]: Instagram Downloader not working on Heroku
- [feature request]: Create FAQ Section HOT 22
- [bug]: Missing Meta Tags HOT 19
- [bug]: Make contact form working HOT 48
- [feature request]: Creating Blog Page HOT 20
- [feature request]: Blog Post Page HOT 13
- [Bug]: Heroku request timeout after 30 secs HOT 58
- [feature request]: Design Error Page Templates HOT 3
- [feature request]: Integrate Custom Error Pages HOT 11
- [feature request]: Add breadcrumb to each download page HOT 5
- [Bug]: Refactor Routes
- [feature request]: Add SlideShare Downloader HOT 1
- [feature request]: Download Slideshare slides in PPTX Format
- [Bug]: Unable to fetch and download the stories, try again! (Instagram stories section) HOT 4
- [Bug]: IG Downloader part suddenly stops working and starts giving error's (Details Inside) HOT 4
- [Bug]: Very small bugs which will improve the user experience after the solution HOT 1
- [feature request]:Please add in slideshare downloader a upload text file of urls HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eazyloader.