dev.tiqav.com

tiqav API Documentation


http://tiqav.com/


Attention

  • Production Environment
    • api.tiqav.com
  • Development Environment
    • sandbox.api.tiqav.com

Search API

  • Example Response
[
 {"id":"3om","ext":"jpg","height":1442,"width":1036,"source_url":"http://example.com/image1.jpg"}, 
 {"id":"1eb","ext":"jpg","height":171,"width":250,"source_url":"http://example.com/image2.jpg"}
]

GET search

http://api.tiqav.com/search.json?q=[query]&callback=[fucntion_name]

GET search/newest

http://api.tiqav.com/search/newest.json?callback=[fucntion_name]

GET search/random

http://api.tiqav.com/search/random.json?&callback=[fucntion_name]

Image API

  • Example Response
{"id":"3om","ext":"jpg","height":1442,"width":1036,"source_url":"http://example.com/image1.jpg"}

GET images/[id]

http://api.tiqav.com/images/[id].json

POST images

http://api.tiqav.com/images.json?url=[http://example.com/image.(jpe?g|png|gif)]&serifu=[画像内のセリフ、テロップ等の文字列]&tags=[comma,separated,tags]&callback=[fucntion_name]
  • Either 'serifu' or 'tags' is required
  • In the development environment, this API is executed in 'dry run' mode.
  • Alias 'GET images.json?url=[...]&serifu=[...]&tags=[...]&callback=[...]'

Tag API

  • Example Response
["tag1", "tag2"]

GET images/[id]/tags

http://api.tiqav.com/images/[id]/tags.json?callback=[fucntion_name]

GET tags

http://api.tiqav.com/tags.json?q=[query]&callback=[fucntion_name]

Image URL

Original

http://img.tiqav.com/[id].[ext]

Thumbnail

http://img.tiqav.com/[id].th.jpg

Glitch

http://img.tiqav.com/[id].glitch

I'm Feeling Lucky

http://[query].tiqav.com/

Download .zip Download .tar.gz View on GitHub