Skip to content

erlang based service for tracking closest pvp activity.created for "THE EVE ONLINE API CHALLENGE".

Notifications You must be signed in to change notification settings

eve-online-api-challenge/scout_probe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scout Probes Launcher

Scout Probe is a service writen with Erlang, based on:

  • EVE CREST API
  • EVE Static export
  • EVE Online Image server
  • Zkillboard API

Not fuly OTP, have no idea how to do OTP tracker without rewrting gen_server loop. No https. It's prety easy to enable https at cowboy by yourself. Created for The EVE Online API Challenge.

Version

0.0.2 - public CREST cached by ets. Less list-processing.

Demo

0.0.2v.

Usage

get sqlite SDE, unpack

get dependencies, compile, run shell

$ ./rebar get-deps
$ ERL_LIBS=$ERL_LIBS:deps/cowboy make
$ make run

For noshel startup edit makefile.

Modules

Like any app based on erlang, Scout Probe has several modules:

  • tracker - used to track user througth new eden
  • router - spawned by router_sup for routing all events
  • *_handler - cowboy request handlers
  • crest - pure api for crest
  • pub_crest - pure api for public crest
  • sov - store and give information about soverenity

Documentation

Due to time limit, there is no documentation yet. You can read sources.

CREST Usage

Service is using "new" crest endpoints.

  • characterLocationRead - nice working endpoint with one anoying bug|feature. If pilot route looks like System A->System B->System A endpoint result going to be "System B" for a while.
  • characterNavigationWrite

Public CREST Usage

  • alliances
  • solarsystems
  • sovereignty/campaigns

Todos

  • Delete rudiment code
  • Swich to maps based router state
  • More coments to code
  • Rework web template (probably, not before 4th March)
  • Rework ws timeout.

License

MIT

About

erlang based service for tracking closest pvp activity.created for "THE EVE ONLINE API CHALLENGE".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 50.1%
  • JavaScript 36.8%
  • HTML 7.9%
  • CSS 5.1%
  • Makefile 0.1%