Skip to content
No description, website, or topics provided.
CSS JavaScript Python Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
re-nodejs
.gitignore
README.md
clean_import.sh
convert.sh
importer.py
requirements.txt
schema.sql
server.py
twit2gif.user.js
util.py

README.md

Twitter to GIF

API

HTTP

bluemix

POST /entities

Content type: application/json Content:

[ // Paragraphs
	'Patrick Ryan was hired by IBM in 2004. He works in New York.',
	...
]

Response:

[ // Paragraphs
	[ // Sentences
		'_NNP was_VBD hired_VBN by_IN _NNP in_IN #_CD _.', // Entities (opaque strings)
		...
	],
	...
]

web

POST /query

Content type: application/x-www-form-urlencoded or application/json Content:

text=...

Response:

{
	"quote": "...",
	"url": "...",
}
GET /render/{id}.gif

Lazily renders subtitle id.

You can’t perform that action at this time.