Want to use Julia to crawl some movies for machine learning, data analysis, or complex networks? Try TheMovieDB.jl! This is a Julia wrapper for The Movie DB API v3 out of the box.
Easy Start
Please apply for your themoviedb API Read Access Token first. Then paste your api key at $HOME/.config/TMDB_KEY.txt
. Or save api key to TMDB_KEY
environment variable.
It’s been a long time since I went to the cinema. What movies are showing recently?
julia> using TheMovieDB
julia> api = init_api()
julia> first(movie_now_playing_list(api))
{
"dates": {
"maximum": "2024-05-08",
"minimum": "2024-03-27"
},
"page": 1,
"results": [
{
"adult": false,
"backdrop_path": "/qrGtVFxaD8c7et0jUtaYhyTzzPg.jpg",
"genre_ids": [
28,
878,
12
],
"id": 823464,
"original_language": "en",
"original_title": "Godzilla x Kong: The New Empire",
"overview": "Following their explosive showdown, Godzilla and Kong must reunite against a colossal undiscovered threat hidden within our world, challenging their very existence – and our own.",
"popularity": 1773.662,
"poster_path": "/1DTP1Ph4uzNO6ofRUm7eAimWoKD.jpg",
"release_date": "2024-03-27",
"title": "Godzilla x Kong: The New Empire",
"video": false,
"vote_average": 6.462,
"vote_count": 956
}...
]
}
Godzilla x Kong… Please add Ultraman next time, I am very curious who is more powerful among the three of them.