API

research, develop
& contribute

Nymology API is fully RESTful

http://nymology.org/api/
Use Nymology in a Python project with this wrapper.
Or use standard REST commands in any language.

Available
Endpoints:

fable/
fortune/
phrase/
polynym/
polymap/
polyset/
quadranym/
quadranym-id/
quadraset/
queue/
quote/
story/
tale/
storyline/
taleline/
vectornym/
winner/
# Nymology API -- Python wrapper
from nymology import NymologyAPI
nym = NymologyAPI(
  username='gus',
  password='nym'
)

# WRAPPER METHODS:
nym.create(endpoint, data)
nym.read(endpoint, pk)
nym.update(endpoint, pk, data)
nym.delete(endpoint, pk)
nym.get_page(endpoint, page)
nym.get_data(endpoint)
nym.get_file(endpoint)
nym.save_file(endpoint)
nym.save_database()
nym.endpoints()
© 2024 Nymology