Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Add last updated data in the API #14

Open
Davianlols6 opened this issue May 19, 2022 · 3 comments
Open

Suggestion: Add last updated data in the API #14

Davianlols6 opened this issue May 19, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@Davianlols6
Copy link

Hi! It would be nice to have a last updated data point in the API preferably for each TV Shows and Movies.

Also, thank you so much for collecting all the data about all Marvel's TV shows and movies into an API!

@AugustoMarcelo
Copy link
Owner

Hi, @Davianlols6

Thanks for the suggestion! Could you provide an example of how you would expect to see this field?

@Davianlols6
Copy link
Author

Davianlols6 commented May 20, 2022

Hi! So the last updated field will be in the form of a DateTime string. For example:

{
  "id": 6,
  "title": "Moon Knight",
  "release_date": "2022-03-30",
  "last_aired_date": "2022-05-04",
  "number_seasons": 1,
  "number_episodes": 6,
  "overview": "Moon Knight follows Steven Grant, a mild-mannered gift-shop employee, who becomes plagued with blackouts and memories of another life. Steven discovers he has dissociative identity disorder and shares a body with mercenary Marc Spector. As Steven/Marc's enemies converge upon them, they must navigate their complex identities while thrust into a deadly mystery among the powerful gods of Egypt.",
  "cover_url": "https://res.cloudinary.com/augustomarcelo/image/upload/v1647469845/mcuapi/gallery/TV%20Shows/Moon%20Knight/Posters/3.jpg",
  "trailer_url": "https://youtu.be/x7Krla_UxRg",
  "directed_by": "Mohamed Diab",
  "phase": 4,
  "saga": null,
  "imdb_id": "tt10234724",
  "last_updated": "2022-05-20T06:29:38Z"
}

@AugustoMarcelo AugustoMarcelo added the enhancement New feature or request label May 21, 2022
@AugustoMarcelo
Copy link
Owner

Hi, @Davianlols6. I see. I'll put your suggestion on my list. It's an easy implementation. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants