Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blaketarter/pickups
Ever wanted a good pickup but couldn't find a good resource? Well you're in luck, Pickups As A Service (PaaS) allows anybody to be a pickup master.
https://github.com/blaketarter/pickups
Last synced: 16 days ago
JSON representation
Ever wanted a good pickup but couldn't find a good resource? Well you're in luck, Pickups As A Service (PaaS) allows anybody to be a pickup master.
- Host: GitHub
- URL: https://github.com/blaketarter/pickups
- Owner: blaketarter
- Created: 2015-02-26T04:51:55.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-26T23:55:59.000Z (almost 10 years ago)
- Last Synced: 2024-11-06T22:46:59.145Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 2.74 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Pickups As A Service (PaaS)
Make sure to populate the database by running `aquire.js`.
##Endpoints
* `/api/random`
Returns a random pickup line`?category=$category` - Can filter possibilities by category
* `/api/pickups`
Returns all pickups`?category=$category` - Can filter by category
##Categories
* `top`
* `jokes`
* `cheesy`
* `flattering`
* `funny`
* `suggestive`##Example Call
`/api/random?category=funny`
{
_id: "54ee96d1603653466d0e1297",
category: "funny",
text: "It's a good thing I wore my gloves today; otherwise, you'd be too hot to handle.",
rating: 276,
__v: 0
}