taeguk / github_listener Goto Github PK
View Code? Open in Web Editor NEWThe simple library that calls user's registered functions whenever github events happen. (ex, notification)
License: MIT License
The simple library that calls user's registered functions whenever github events happen. (ex, notification)
License: MIT License
Can't use Gist with github_listener....
A Unicorn appears.....:(
The problem is that github_listener login to github so much. (so many access to /session)
Related Issue is #1 .
https://developer.github.com/v3/activity/notifications/
I forgot that Github API of notifications exists.
What is more better between Github API and Parsing?
This problem is caused from refusing my connection of Github Server.
What is the solutions...?
listener.run(time_gap)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /notifications (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0xb6ba338c>: Failed to establish a new connection: [Errno -5] No address associated with hostname',))
account = GithubAccount("username", "password")
listener = GithubListener(account)
listener = GithubListener(account)
File "/Library/Python/2.7/site-packages/github_listener/github_listener.py", line 49, in __init__
self.event_checker = GithubEventChecker(account)
File "/Library/Python/2.7/site-packages/github_listener/github_listener.py", line 32, in __init__
self.notification_checker = NotificationChecker(account)
File "/Library/Python/2.7/site-packages/github_listener/notification.py", line 35, in __init__
self.notification_api = NotificationAPI(account)
File "/Library/Python/2.7/site-packages/github_listener/github_api/notification_api.py", line 34, in __init__
super().__init__(account)
TypeError: super() takes at least 1 argument (0 given)
Like #1 , the limit of requests(or login) exists in current.
The solution to increase the rate is needed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.