Application: help

Summary

Provides a list of valid commands and examples of how to use them

Paths

GET /newhelp

Examples

$ curl 'https://da.gd/newhelp'

Words of wisdom:

  • Information here may be incomplete
Application: useragent

Summary

Show the user agent that your client is sending.

Paths

GET /ua

Examples

$ curl 'https://da.gd/ua'
Application: ip

Summary

Returns your current IP address.

Paths

GET /ip

Examples

$ curl 'https://da.gd/ip'
Application: editcount

Summary

Gives wikipedia edit count for a user.

Paths

GET /ec/<username>
GET parameters
lang: language code for wikimedia project
proj: wikimedia project to query

Examples

en.wikipedia.org editcount for user "CodeBlock"
$ curl 'https://da.gd/ec/CodeBlock'
fr.wikipedia.org editcount for user "CodeBlock"
$ curl 'https://da.gd/ec/CodeBlock?lang=fr'
en.wikiquote.org editcount for user "CodeBlock"
$ curl 'https://da.gd/ec/CodeBlock?lang=en&proj=wikiquote'
Application: cow

Summary

Generate cows and other cow-like things.

Paths

GET /cow
GET parameters
cow: the cow to render
text: the text to render (mind url encoding)
eyes: substitution for eyes
tongue: substitution for tongue
thoughts: substitution for line to text bubble

Examples

Generate a cow that says moo
$ curl 'https://da.gd/cow/?text=moo'
Generate a moose with custom attributes
$ curl 'https://da.gd/cow/?cow=moose&text=moo&eyes=@@&thoughts=^&tongue=~'

Some advice:

  • Be sure to properly URL encode your text