Comments (3)
What are you using the Github API for, anyway? You could always use an existing API client if you need it (pygithub?).
from starter-pack.
metadata_api.py grabs the latest release or tag, and returns the associated version (or tag) string, timestamp, and selected download url.
Actually navigating the API is dead easy for this, and it looks like pygithub would be overkill - all I really need to do is cache stuff more intelligently, and more advanced caching should be interesting and educational enough to do for its own sake.
from starter-pack.
984ee22 implements timestamp-conditional requests to the GitHub API.
Since this doesn't require a GitHub account at all, I'm counting it as a better solution than Oauth and closing the issue. Further upgrades remain likely.
from starter-pack.
Related Issues (20)
- Sort out licenses etc
- Use the shared core HOT 1
- Record release date in changelogs
- Github API endpoint for tags sorts by name, not date
- Enhancement: Make ASCII graphics pack not include so many files HOT 4
- PyLNP.exe doesn't launch on Windows HOT 1
- Filename for Armok Vision is Incorrect on Linux HOT 2
- How can I use this to build a Mac pack? HOT 1
- Wrong memory layout format for DT for DF 44.03 HOT 6
- Linux Mint 18.3 x86_64 build fails
- Phoebus doesnโt correctly utilise twbt HOT 1
- Build improvements for preview packs
- Pack is getting flagged as malware HOT 1
- Enhanced Gameplay
- Potential issues with symlinks in the DFHack archives on Windows HOT 2
- Config updates and other tweaks
- Option to select target DF version HOT 1
- Disable Therapist if memory layout is missing HOT 1
- Add notion of extract-after for components
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 starter-pack.