Total word count of all articles on the site: 1209 words

ggggg

    $total = wp_statistics_pages('total', $page_id);

Views: 18

Thank you for reading this post, don't forget to subscribe!

The V2 API permissions are divided into 3 categories.

  • Public (Required Scope URIs: movie_basic_r, movie_basic_w) - Available to all developers, approved. Limit 40 requests/minute. Open basic data interface, general personal hobbyist self-built website or application will be satisfied.
  • Advanced (corresponding to Required Scope URIs: movie_advance_r, movie_advance_w) - After running for a while, if the non-commercial site (e.g., non-profit library, school, charity organization, etc.) is truly outstanding, has values that are in line with Douban, is free of copyright issues, and does not compete with Douban Movies. No copyright issues, and does not compete with Douban Movie, you can apply for advanced privileges. Open basically all interfaces.
  • Business (Required Scope URIs: movie_premium_r, movie_premium_w) - Used for business cooperation, unlimited number of times, limited open interfaces. Please use this interface for websites that are already commercialized. After migrating to V2, you can open it as long as you meet our API requirements (see below). To apply for opening premium or commercial interfaces please contact bd-team@douban.com
  • The ratings should be displayed alongside any of the profiles and labeled “Douban Rating”.”
  • If you are using a profile, you must add a link to “Go to Douban Movie for details” under the movie's profile, with the link pointing to the corresponding entry url.
  • Movie reviews must be individually labeled as “Douban Movie” and cannot be mixed with other review data.
  • If the application includes a client service, this client must not be used with the words “Douban“ and ”Douban Movie” displayed in the name and corresponding logo.
  • If the app uses Douban data, ratings and movie reviews, the app shall not use the same type of data provided by other platforms, and the app shall not build its own ratings and movie review services.

API List

Movie Entries

Entries for movie people

look for sth.

list of names

TODO

  • [ ] Remove pubdate field from movie entry information, duplicates meaning of mainland_pubdate

Movie entry information


Resources URI

/v2/movie/subject/:id

Required Scope

movie_basic_r

Example.

GET /v2/movie/subject/1764796

Status.

200 OK

Resources Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
idEntry idstrYYY-
titleChinese namestrYYY-
original_titleoriginal namestrYYY’’
akaalso known asarrayYYY[]
altEntry Page URLstrYYY-
mobile_urlMobile Entry Page URLstrYYY-
ratingScoring.see appendixdictYYY-
ratings_countNumber of ratingsintYYY0
wish_countNumber of people wanting to seeintYYY0
collect_countNumber of persons seenintYYY0
do_countNumber of people watching, default value is 0 if it's a TV show, if it's a movie value is nullintYYY0 / null
imagesMovie poster artwork, available in 288px x 465px (large), 96px x 155px (medium) 64px x 103px (small) sizes respectivelydictYYY-
subtypeCategory, movie or tvstrYYYmovie
directorsdirector, the data structure is a simplified description of Shadowman'ssee appendixarrayYYY[]
castsstarring, up to 4, and the data structure is a simplified description of the moviemaker'ssee appendixarrayYYY[]
writersscreenwriters, with data structures as simplified descriptions of the shadow people thatsee appendixarrayNYY[]
websiteOfficial websitestrNYY’’
douban_siteDouban mini-sitestrYYY’’
pubdatesRelease date if the entry type is a movie, first Ï date if it is a TV seriesarrayNYY[]
mainland_pubdateContinental release date, or release date if the entry type is a movie, or premiere date if it is a TV seriesstrNYY’’
pubdateCompatibility data, which will be removed in the future, and continental release date, which is the release date if the entry type is a movie, or the premiere date if it's a TV seriesstrNYY’’
yearagestrYYY’’
languagesmultilingualismarrayNYY[]
durationslength of filmarrayNYY[]
genresMovie genres, up to 3arrayYYY[]
countriesCountry/area of productionarrayYYY[]
summarybriefstrYYY’’
comments_countNumber of short commentsintYYY0
reviews_countNumber of movie reviewsintYYY0
seasons_countTotal seasons (tv only)intYYY0 / null
current_seasonCurrent Season (tv only)intYYY0 / null
episodes_countCurrent Season Episodes (tv only)intYYY0 / null
schedule_urlMovie Page URL(movie only)strYYY’’
trailer_urlsTrailer URLs, open to Premium users and above, up to 4 addresses openarrayNYY[]
       
clip_urlsSegment URLs, open to Premium users and above, up to 4 addresses openarrayNYY[]
       
blooper_urlsFlower URLs, open to Premium users and above, up to 4 addresses openarrayNYY[]
photosMovie stills, first 10.see appendixarrayNYY[]
popular_reviewsMovie Reviews, Top 10, Movie Review Structure.see appendixarrayNYY[]

Shadowman entry information


Resources URI

/v2/movie/celebrity/:id

Required Scope

movie_basic_r

Example.

GET /v2/movie/celebrity/1054395

Status.

200 OK

Resources Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
idEntry idstrYYN/A-
nameChinese namestrYYN/A-
name_enEnglish namestrYYN/A’’
altEntry Page URLstrYYN/A-
mobile_urlEntry Mobile URLstrYYN/A-
avatarsPhotographer avatars, available in 420px x 600px (large), 140px x 200px (medium) and 70px x 100px (small) sizes.dictYYN/A-
summarybriefstrNYN/A’’
akaMore Chinese namesarrayYYN/A[]
aka_enMore English namesarrayYYN/A[]
websiteOfficial websitestrNYN/A’’
genderdistinguishing between the sexesstrYYN/A’’
birthdaydate of birthstrNYN/A’’
born_placebirthplacestrYYN/A’’
professionscareersarrayNYN/A[]
constellationhoroscopestrNYN/A’’
photosStills of actors and actresses, up to 10.see appendixarrayNYN/A[]
worksworks of filmmakers, up to 5, abbreviated movie entry structure.see appendixarrayYYN/A[]

Movie entry stills


Resources URI

/v2/movie/subject/:id/photos

Required Scope

movie_advance_r

Example.

GET /v2/movie/subject/1054395/photos

Status.

200 OK

Request Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
startstartintN/AYY0
countcountintN/AYY10

Resources Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
startstartintN/AYY0
countcountintN/AYY10
totalaggregateintN/AYY0
subjectMovie entry.see appendixdictN/AYY-
photosQuery results.see appendixarrayN/AYY-

Movie Entry Review List


Resources URI

/v2/movie/subject/:id/reviews

Required Scope

movie_advance_r

Example.

GET /v2/movie/subject/1054395/reviews

Status.

200 OK

Request Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
startstartintN/AYY0
countcountintN/AYY10

Resources Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
startstartintN/AYY0
countcountintN/AYY10
totalaggregateintN/AYY0
subjectMovie entry.see appendixdictN/AYY-
reviewsThe movie review list.see appendixarrayN/AYY-

List of short reviews of movie entries


Resources URI

/v2/movie/subject/:id/comments

Required Scope

movie_advance_r

Example.

GET /v2/movie/subject/1054395/comments

Status.

200 OK

Request Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
startstartintN/AYY0
countcountintN/AYY10

Resources Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
startstartintN/AYY0
countcountintN/AYY10
totalaggregateintN/AYY0
subjectMovie entry.see appendixdictN/AYY-
commentsA list of short comments.see appendixarrayN/AYY-

Films


Resources URI

/v2/movie/celebrity/:id/works

Required Scope

movie_advance_r

Example.

GET /v2/movie/celebrity/1054395/works

Status.

200 OK

Request Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
startstartintN/AYY0
countcountintN/AYY5

Resources Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
startstartintN/AYY0
countcountintN/AYY5
totalaggregateintN/AYY0
celebrityShadowman entries.see appendixdictN/AYY-
worksA list of works, including works and their corresponding characters.see appendixarrayN/AYY-

Shadowman Stills


Resources URI

/v2/movie/celebrity/:id/photos

Required Scope

movie_advance_r

Example.

GET /v2/movie/celebrity/1054395/photos

Status.

200 OK

Request Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
startstartintN/AYY0
countcountintN/AYY10

Resources Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
startstartintN/AYY0
countcountintN/AYY10
totalaggregateintN/AYY0
celebrityShadowman entries.see appendixdictN/AYY-
photosStills list.see appendixarrayN/AYY-

Movie Entry Search


Resources URI

/v2/movie/search?q={text}

Required Scope

movie_basic_r

Example.

GET /v2/movie/search?q=Zhang Yimou GET /v2/movie/search?tag=Comedy

Status.

200 OK

Request Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
qquery stringstrYYY-
tagtag query stringstrYYY-
startstartintYYY0
countcountintYYY20

Resources Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
startstartintYYY0
countcountintYYY20
totalTotal, Basic returns up to 20 records.intYYY0
querysearch stringstrYYY-
tagsearch tagsstrYYY-
subjectsSearch result listings.see appendixarrayYYY-

Top 250


Resources URI

/v2/movie/top250

Required Scope

movie_basic_r

Example.

GET /v2/movie/top250

Status.

200 OK

Request Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
startstartintYYN/A0
countcountintYYN/A10

Resources Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
startstartintYYN/A0
countcountintYYN/A10
totalaggregateintYYN/A0
titleRanking NamestrYYN/A-
subjectsThe list of entries.see appendixarrayYYN/A-

North American box office chart


Resources URI

/v2/movie/us_box

Required Scope

movie_basic_r

Example.

GET /v2/movie/us_box

Status.

200 OK

Resources Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
titleRanking NamestrYYN/A-
dateChart date rangestrYYN/A-
subjectslist of usbox entries.see appendixarrayYYN/A-

public praise list


Resources URI

/v2/movie/weekly

Required Scope

movie_advance_r

Example.

GET /v2/movie/weekly

Status.

200 OK

Resources Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
titleRanking NamestrN/AYN/A-
subjectsweekly list of entries.see appendixarrayN/AYN/A-

New Releases


Resources URI

/v2/movie/new_movies

Required Scope

movie_advance_r

Example.

GET /v2/movie/new_movies

Status.

200 OK

Resources Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
titleRanking NamestrN/AYN/A-
subjectsThe list of entries.see appendixarrayN/AYN/A-

In theaters now.


Resources URI

/v2/movie/in_theaters

Required Scope

movie_premium_r

Example.

GET /v2/movie/in_theaters

Status.

200 OK

{
    "title":: "Movies in theaters-Beijing".,
    "total": 39,
    "start": 0,
    "count": 20,
    "subjects": [, ...] ,
}

Request Properties.

NameTypeOptionalNote
citystringyes (default: Beijing)Chinese, e.g. “Beijing” or numeric ID: 108288

Resources Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
startstartintN/AYY0
countcountintN/AYY20
totalaggregateintN/AYY0
subjectMovie entry.see appendixdictN/AYY-
titlecaptionstrN/AYYMovies in theaters-Beijing

Coming soon.


Resources URI

/v2/movie/coming_soon

Required Scope

movie_premium_r

Example.

GET /v2/movie/coming_soon

Status.

200 OK

{
    "start": 0,
    "count": 20,
    "title":: "Upcoming Movies,",
    "total": 39,
    "subjects": [, ...] ,
}

Request Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
startstartintYYN/A0
countcountintYYN/A20

Resources Properties.

PropertyDescriptionTypeBasicAdvancePremiumDefault
startstartintN/AYY0
countcountintN/AYY20
totalaggregateintN/AYY0
subjectMovie entry.see appendixdictN/AYY-
titlecaptionstrN/AYYUpcoming Movies

Appendix

Simple Celebrity Properties


PropertyDescriptionTypeBasicAdvancePremiumDefault
idShadowman entry idstrYYY-
nameChinese namestrYYY-
altFilmmaker Entry URLstrYYY-
avatarsPhotographer avatars, available in 420px x 600px (large), 140px x 200px (medium) and 70px x 100px (small) sizes.dictYYY-

Simple Rating Properties


PropertyDescriptionTypeBasicAdvancePremiumDefault
minminimum ratingintYYY-
maxhighest ratingintYYY-
averagescore (of student's work)float(1)YYY-
starsNumber of starsintYYY-

Rating Properties


PropertyDescriptionTypeBasicAdvancePremiumDefault
minminimum ratingintYYY-
maxhighest ratingintYYY-
valuescore (of student's work)intYYY-

Simple Subject Properties


PropertyDescriptionTypeBasicAdvancePremiumDefault
idEntry idstrYYY-
titleChinese namestrYYY-
original_titleoriginal namestrYYY’’
altEntry URLfloat(1)YYY-
imagesMovie poster artwork, available in 288px x 465px (large), 96px x 155px (medium) 64px x 103px (small) sizes respectivelydictYYY-
ratingScoring.see appendixdictYYY-
pubdatesRelease date if the entry type is a movie, or premiere date if it is a TV seriesarrayNYY[]
yearagestrYYY’’
subtypeCategory, movie or tvstrYYYmovie

Photo Properties


PropertyDescriptionTypeBasicAdvancePremiumDefault
idImage idstrN/AYY-
subject_idEntry idstrN/AYY-
altPicture display page urlstrN/AYY-
iconImage address, icon sizestrN/AYY-
imageImage address, image sizestrN/AYY-
thumbImage address, thumb sizestrN/AYY-
coverImage address, cover sizestrN/AYY-
created_atRelease DatestrN/AYY-
descImage DescriptionstrN/AYY’’
authoruploading users.see appendixdictN/AYY-
album_idAlbum idstrN/AYY-
album_titleAlbum TitlestrN/AYY-
album_urlAlbum addressstrN/AYY-
next_photoNext image.strN/AYY’’
prev_photoPrevious Image.strN/AYY’’
positionPosition of pictures in the album, sorted by timeintN/AYY0
comments_countNumber of commentsintN/AYY0
photos_countNumber of all stillsintN/AYY0

Simple Photo Properties


PropertyDescriptionTypeBasicAdvancePremiumDefault
idImage idstrN/AYY-
altPicture display page urlstrN/AYY-
iconImage address, icon sizestrN/AYY-
imageImage address, image sizestrN/AYY-
thumbImage address, thumb sizestrN/AYY-
coverImage address, cover sizestrN/AYY-

Review Properties


PropertyDescriptionTypeBasicAdvancePremiumDefault
idMovie Reviews idstrYYY-
titlemovie reviewer's namestrYYY-
altmovie review urlstrYYY-
created_atRelease DatestrYYY-
updated_atUpdate DatestrYYY-
subject_idEntry idstrYYY-
authoruploading users.see appendixdictYYY-
summaryAbstract, 100 words or lessstrYYY-
ratingmovie review ratings.see appendixdictYYY-
useful_countusefulnessintYYY0
useless_countuseless numberintYYY0
comments_countNumber of commentsintYYY0

Simple Review Properties


PropertyDescriptionTypeBasicAdvancePremiumDefault
idMovie Reviews idstrYYY-
titlemovie reviewer's namestrYYY-
altmovie review urlstrYYY-
subject_idEntry idstrYYY-
authoruploading users.see appendixdictYYY-
ratingmovie review ratings.see appendixdictYYY-
summaryAbstract, 100 words or lessstrYYY-

Comment Properties


PropertyDescriptionTypeBasicAdvancePremiumDefault
idShort comment idstrYYY-
created_atRelease DatestrYYY-
subject_idEntry idstrYYY-
authoruploading users.see appendixdictYYY-
contentShort comments, 140 characters or lessstrYYY-
ratingShort review ratings.see appendixdictYYY-
useful_countusefulnessintYYY0

Simple User Properties


PropertyDescriptionTypeBasicAdvancePremiumDefault
idUser idstrYYY-
nameuser IDstrYYY-
uiduser-unique identifierstrYYY-
signatureuser signaturestrYYY’’
altUser's personal home page urlstrYYY-
avataruser avatarstrYYY-

Box-Subject Properties


PropertyDescriptionTypeBasicAdvancePremiumDefault
rankrankingsintYYY-
boxbox officeintYYY-
newIs it new in theaters?boolYY- 
subjectMovie Entriessee appendixdictYYY-

Weekly-Subject Properties


PropertyDescriptionTypeBasicAdvancePremiumDefault
rankrankingsintYYY-
deltaranking changeintYYYY
# was written 2 years ago and revised 1 year ago.
Message Box
# You need to comment for the first time to get the message #
# You need to comment for the first time to get the message #

Show only the latest 10 unread and read messages.