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'

Cautionary tales:

  • 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: isp

Summary

Returns the name of your ISP, or that of the given IP.

Paths

GET /isp
GET /isp/<ip>

Examples

Return the name of your ISP.
$ curl 'https://da.gd/isp/'
Return the name of the ISP of the given address.
$ curl 'https://da.gd/isp/69.171.234.21'
Application: cow

Summary

Generate cows and other cow-like things.

Paths

GET /cow
GET parameters
cow: the cow to render
say: 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/?say=moo'
Generate a moose with custom attributes
$ curl 'https://da.gd/cow/?cow=moose&say=moo&eyes=@@&thoughts=^&tongue=~'

A few notes:

  • Be sure to properly URL encode your text