trakt.tv-api-blueprint's People
trakt.tv-api-blueprint's Issues
"Authentication"
General explanation of Authentication is alread part of "Authentication - OAuth"
Document identical endpoints
Example:
GET /users/{id}/history/{type}/{item_id}{?start_at,end_at}
http://docs.trakt.apiary.io/#reference/users/history/get-watched-history
and
GET /sync/history/{type}/{id}{?start_at,end_at}
http://docs.trakt.apiary.io/#reference/sync/get-history/get-watched-history
are identical
Don't abuse headlines for Emoji stuff
#### 🔒 OAuth Required
More grouping
Headlines like "Sync" group many different things together. It would be better if there were additional headlines under them to group similar things together.
(In same cases this could lead to more indentation levels than there are now - check if this is possible)
Distinct names for endpoints
"Watched" is the list of most watched things, but also the list of things someone watched.
Followers and Following show same response
Follow > Follow this user: Desription missing
Starts with technical details, not what it actually does.
Season = Summary of Season
Right now "Season" lives under "Seasons".
It should live under its own headline "Season" and be named "Summary" for consitency to all other Summaries.
"My *" calendar endpoints have same description as "All *" endpoints
Explanation is only in text above:
The my calendar displays episodes for all shows that have been watched, collected, or watchlisted. It will remove any shows that have been hidden from the calendar. The all calendar displays info for all shows airing during the specified period.
Better documentation for valid `extended` values and what they return
Right now you know there is full
and sometimes in the text it also mentions other valid values and what they do. This should be more systematic.
"Season" should include IDs and number
"Season" (of "Seasons") (which is "Summary" of a "Season" per #6) should include an IDs array and it's own number
.
What is right now here should be "Episodes".
Optional parameters in URL?
## Get Watchlist [/sync/watchlist/{type}]
type
is optional. Is this correct this way?
POST /remove vs. DELETE
Which is which and why?
The missing "episodes" endpoint
PHP: Also parse "request URL" for pre
Having the request used to generate a response object would be useful context.
Odd ones
- Box Office: "top 10 grossing movies in the U.S. box office" is not part anywhere else,
revenue
+ movie - Updates: "updated" as a concept is not used anywhere else,
updated_at
+ movie, show, - Next episode + Last episode: Both return an episode, but source for which one is chosen is unkown and not used anywhere else
- Season: List of episodes - as "summary" (see #6, #7) would make more sense
Not all "extended" endpoints have example responses for ?extended=
They should have so you can actually get an idea what the response looks like.
Replies are comments themselves?
So "comments" are really "top level comments"?
And "replies" are "non top level comments"?
Overview of data types
- movie = http://docs.trakt.apiary.io/#reference/movies/summary/get-a-movie
- person = http://docs.trakt.apiary.io/#reference/people/summary/get-a-single-person
- show = http://docs.trakt.apiary.io/#reference/shows/summary/get-a-single-show
- list of seasons = http://docs.trakt.apiary.io/#reference/seasons/summary/get-all-seasons-for-a-show
- season = missing (see #6 and #7)
- list of episodes = http://docs.trakt.apiary.io/#reference/seasons/season/get-single-season-for-a-show (called "Season", see #6 and #7)
- episode = http://docs.trakt.apiary.io/#reference/episodes/summary/get-a-single-episode-for-a-show
Watched doesn't actually return episode info
http://docs.trakt.apiary.io/#reference/sync/get-watched/get-watched
This is said to return "episode" info, but the actual episode info is missing
Use data description
Parse: New singular Groups need new CSS classes to become hidden on checkbox deselect
checkbox is only "movies", now "movie" also exists and is not hidden
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.