https://github.com/compufox/gender-api
https://github.com/compufox/gender-api
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/compufox/gender-api
- Owner: compufox
- Created: 2020-08-18T19:27:20.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-18T21:45:13.000Z (almost 6 years ago)
- Last Synced: 2025-03-02T04:44:01.701Z (over 1 year ago)
- Language: Common Lisp
- Size: 358 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* Gender-Api
a silly gender ""api""
** Usage
drop into a lisp repl
#+BEGIN_SRC lisp
* (ql:quickload :gender-api)
* (gender-api:main)
#+END_SRC
then you can curl http://127.0.0.1:5000/api/gender to get a gender.
if you pass a name (http://127.0.0.1:5000/api/gender?name=ava%20fox) you can get back a gender with the name you passed
** Installation
Install a lisp (SBCL or Roswell)
=git clone https://github.com/compufox/gender-api ~/common-lisp/gender-api=
then follow along with Usage
** Building
using sbcl (sbcl) or roswell (ros run)
#+BEGIN_SRC shell
$ ros run --eval "(ql:quickload :gender-api)" --eval "(asdf:make :gender-api)"
$ cp ~/common-lisp/gender-api/src/words.json ~/common-lisp/gender-api/bin/
#+END_SRC
** Author
+ ava fox
** Copyright
Copyright (c) 2020 ava fox
** License
Licensed under the NPLv1+ License.