Skip to content

Releases: snus-kin/twitter.nim

2.0.0

05 Jun 08:10
afe1a53
Compare
Choose a tag to compare

Twitter API V2!

Changes some syntax, now call like this:

twitter.v1.usersLookup(twitterAPI, "sn_fk_n")
twitter.v2.usersId(twitterAPI, "1140672492220162052")

1.0.1

25 Jul 15:38
Compare
Choose a tag to compare

Add missing 'developer utilities' endpoints

These were missing from the API index and are important e.g. rate limit info

1.0.0

25 Jul 12:46
Compare
Choose a tag to compare
  • Full support for all endpoints specified in the API Index Reference.
  • Includes new methods for PUT and DELETE
  • Support for the publish.twitter.com domain for oembed API

The twitter.nim file is vaguely in the order of the API Index, with comment headings to break up different endpoints, I have also annotated each proc with their endpoints for ease of finding. Some of the API docs on twitter are badly written and might have things like .format instead of .json which I assume was a templating error, I have tested these and corrected them in the comments.

NB: method user() which accessed multiple endpoints has been replaced with relevant more specific proc names. i.e. this might not be backwards-compatible if you relied on those procs.