kwbmm / scraped-tvtime-api Goto Github PK
View Code? Open in Web Editor NEWA free TVTime API based on scraping TVTime website. No API key required
License: Mozilla Public License 2.0
A free TVTime API based on scraping TVTime website. No API key required
License: Mozilla Public License 2.0
After performing a request, the response from TVTime always returns a new cookie. This cookie should be updated in the Flask session automatically when doing a request.
Right now, we have to manually call Utils.update_tvtime_cookies()
after each request. This should be avoided as it can lead to issues.
The API should reject all requests not using HTTPS.
This is because we are dealing with sensitive information, so no data should be passed over the network in clear text.
This API should be packaged for easy distribution.
API should handle errors through JSON and HTTP codes rather than crashing.
To perform tests, a test user is needed.
Requirements
A better way to document the API should be put in place.
Relying on a table written in markdown is not the best option.
Ideally, it would be great if API documentation can be generated automatically from the code, so that it is always kept up to date.
Having to start your own Flask server is not ideal.
What if the project could be dockerized and one could just launch the container and have the API exposed and ready to handle requests?
Remarks
The API should offer a way to add shows to follow to your profile.
This is a requirement for #3
A pipeline should be set up to verify the integrity of the code:
Bonus
To provide information to the end user about errors, especially when testing, a logging system should be implemented.
Should write tests for endpoints
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.