GraphQL API queries

queries.albumSearchQuery(searchQuery: str, page: int = 1, display: str = 'rating_all_time', albumType: str = 'All', contentType: str = '0')

Get search results for a query Currently the api is broken and returns extra fields

Parameters
  • searchQuery – search keyword

  • page – initial search page

  • display – sorting option

  • albumType – type of album

  • contentType – type of content to search for

Returns

Query

queries.getAlbumInfo(albumId)

Get album info query

Parameters

albumId – album id

Returns

Query

queries.getPictures(albumId: int, page: int = 1)

list pictures query

Parameters
  • albumId – album id

  • page – search page

Returns

Query

queries.getVideoInfo(videoId)

Get video info query

Parameters

videoId – video id

Returns

Query

queries.landingPageQuery(limit: int = 15)

list landing page albums

Parameters

limit – limit on how many albums to find

Returns

Query

queries.videoSearchQuery(searchQuery: str, page: int = 1, display: str = 'rating_all_time', contentType: int = 0)

Get search results for a query

Parameters
  • searchQuery – search keyword

  • display – sorting option

  • page – initial search page

  • contentType – type of content to search for

Returns

Query