API server

Intermediary between the APP and the BOT

To manage node processes:

To view:
ps aux | grep node

root 1127 1.3 10.4 1167384 52360 ? Sl 21:34 0:01 node api.js

root 1270 0.3 4.3 901732 21708 ? Sl 21:34 0:00 node _deploy.js

root 1366 0.0 0.1 11740 932 pts/0 S+ 21:36 0:00 grep --color=auto node

To end process:
pkill -f "node api.js"

Old API: http://api.allevents.nyc

  • /bot.allevents.nyc/v1/all
    get all site-related data

  • /bot.allevents.nyc/v1/sites
    list of sites to crawl

  • /bot.allevents.nyc/v1/categories list of categories, to categorize events into

  • /bot.allevents.nyc/v1/scenes similar to "categories" but more user-focused

  • /bot.allevents.nyc/v1/time time of last site scraping, and note if it resulted in an error

  • /bot.allevents.nyc/v1/events list events - accepts GET search variables to modify query:
    text (string) search term
    limit (int) limit number of results
    skip (int) for pagination, skip over number of results

results matching ""

    No results matching ""