ななコレクションとは

目的

水樹奈々関連データの配信

中の人

@ktn111

API

Search API

Request
GET/POST /ja/search/json/<query> l=<limit>&next=<cursor>
GET/POST /ja/search/json/ q=<query>&l=<limit>&next=<cursor>
query
see Query Strings
limit
max length of items per search
cursor
cursor for more results, or null
Response
{
  "lang": "ja",
  "err": "<error_message>",
  "items": [<item>],
  "number_found": <number_found>,
  "next": "<cursor>",
  "search": {
    "limit": <limit>,
    "q": "<query>",
  }
}
error_message
blank means success
item
object has id, t, tg, cl, n, …
number_found
>= length
cursor
cursor for more results
Example

/ja/search/json/?q=2015&l=2

Datastore

Request
GET/POST /ja/<type>/json/ q=<query>&tg=<tag>&st=<search_type>&so=<search_order>&l=<limit>&next=<cursor>
type required
tagged, article, word, appear, person, song, product, cd
query
query
tag
tag
search_type
title, new_date, …
search_order
asc / desc
limit
max length of items per search
cursor
cursor for more results
Response
{
  "lang": "ja",
  "items": [<item>],
  "next": "<cursor>",
  "more": <more_flag>
}
item
object has id, t, tg, cl, n, …
cursor
cursor for more results, or null
more_flag
true / false
Example

/ja/word/json/?q=2015&tg=LIVE ADVENTURE&st=lastmod&so=desc&l=3

Wiki / issue

kittttttan / nana-collections — Bitbucket

Powered by Google App Engine