English

Basically all the calls to the API are made to this URL: http://tracker.eveminingsquad.com/?modulo=api&call=
After the call=, you need to write which call you would like to do.
Right now there are some: systemsMoreGanked, dangerousGankers,lastGank,lastGanks.

[systemsMoreGanked] Systems More Ganked (Cached)

This call gets the data avaliable on the basic statistics on the main page.
Full URL: http://tracker.eveminingsquad.com/?modulo=api&call=systemsMostGanked
Avaliable filters: None, since is cached from the basic statistics.

[dangerousGankers] Gankers that killed most ships in 24h (Cached)

This call gets the data avaliable on the basic statistics on the main page.
Full URL: http://tracker.eveminingsquad.com/?modulo=api&call=dangerousGankers
Avaliable filters: None, since is cached from the basic statistics.

[lastGank] Gets the info of the last gank (Cached)

This call gets the data avaliable on the basic statistics on the main page.
Full URL: http://tracker.eveminingsquad.com/?modulo=api&call=lastGank
Avaliable filters: None, since is cached from the basic statistics.

[lastGanks] Get the last ganks (until 7 days)

This call get all the information about the last ganks on highsec. System, region, victim, gankers.
Full URL: http://tracker.eveminingsquad.com/?modulo=api&call=lastGanks
Avaliable filters:
- Date Filter -> Get more than 24h -> days (From 1 to 7) - Default is 1 day / If you want to check by month and year use month= and year=
- Filter 1 -> Location (regionID/constellationID/systemID)
- Filter 2 -> Killer(s) (killerID/corpGankerID/allianceGankerID)
- Filter 3 -> Destroyed ship (group of ships) (killedShipTypeID/killedShipTypeGroupID)
- Filter 4 -> Victim (victimID/victimCorpID/victimAllianceID)

* Right now it's only possible to retrieve the info of only 1 thing of each filter (As soon as possible I'll put like 10 max ID's on the filter)
Examples:
http://tracker.eveminingsquad.com/?modulo=api&call=lastGanks&regionID=10000002&days=7 (Last ganks on The Forge - Last week)
http://tracker.eveminingsquad.com/?modulo=api&call=lastGanks&regionID=10000002&killerID=228983997 (Last ganks on The Forge by a ganker)
http://tracker.eveminingsquad.com/?modulo=api&call=lastGanks&killedShipTypeGroupID=463 (Last mining barges ganked)
http://tracker.eveminingsquad.com/?modulo=api&call=lastGanks&victimCorpID=1000009 (Last ganks on the NPC corp: Caldari Provisions)
http://tracker.eveminingsquad.com/?modulo=api&call=lastGanks&regionID=10000002&month=1&year=2016 (Ganks on The Forge region - January 2016)

[statistics] Statistics - Number of ganks

With this call you can get the number of ganks that happened on a system, constellation, region or done by a ganker (characterID), corporation (corporationID) or the alliance (allianceID).
FULL URL: http://tracker.eveminingsquad.com/?modulo=api&call=statistics
Required parameters:
- month -> You need to specify the month. (month=2 to get the statistics on february)
- year -> You need to specify the year. (year=2016 to get the statistics on 2016 for the month of before)
- statisticsType -> You must specify a statisticsType to get the specified statistic: region (regionID), constellation (constellationID), solar system (systemID) or to check how much a capsuleer (characterID), corporation (corporationID) or alliance (allianceID) ganked.

Examples:
http://tracker.eveminingsquad.com/?modulo=api&call=statistics&statisticType=region&regionID=10000002&year=2016&month=1 (Ganks done on The Forge on January 2016)
http://tracker.eveminingsquad.com/?modulo=api&call=statistics&statisticType=alliance&allianceID=99002775&year=2016&month=1 (Ganks done by CODE. on January 2016)

[sync] To keep sync the webpage

This is the call that my webpage does to keep sync the ganks, statistics, basically it have all the avaliable calls in one. You can use it, but doesn't have any filters.
Final URL: http://tracker.eveminingsquad.com/?modulo=api&call=sync
Avaliable filters: None.

Spanish

Todas las llamadas posibles al API son a la siguiente URL: http://tracker.eveminingsquad.com/?modulo=api&call=
Despues de: call=, necesitas escribir a que llamada quieres hacer a la API.
Ahora mismo solo hay las siguientes llamadas: systemsMoreGanked, dangerousGankers,lastGank,lastGanks.

[systemsMoreGanked] Sistemas mas gankeados (Cacheado)

Esta llamada a la API, permite obtener las estadisticas de lo que aparece en la pagina principal.
URL Final: http://tracker.eveminingsquad.com/?modulo=api&call=systemsMostGanked
Filtros disponibles: Ninguna ya que esta cacheado.

[dangerousGankers] Gankers que han destruido mas naves (24h) (Cacheado)

Esta llamada a la API, permite obtener las estadisticas de lo que aparece en la pagina principal.
URL Final: http://tracker.eveminingsquad.com/?modulo=api&call=dangerousGankers
Filtros disponibles: Ninguna ya que esta cacheado.

[lastGank] Información sobre el ultimo gank (Cacheado)

Esta llamada a la API, permite obtener las estadisticas de lo que aparece en la pagina principal.
URL Final: http://tracker.eveminingsquad.com/?modulo=api&call=lastGank
Filtros disponibles: Ninguna ya que esta cacheado.

[lastGanks] Ultimos ganks (hasta 7 dias)

Esta llamada permite obtener toda la información sobre los ultimos gankeos en highsec, permite obtener el sistema, region, victima y el agresor.
URL Final: http://tracker.eveminingsquad.com/?modulo=api&call=lastGanks
Filtros disponibles:
- Filtrado por fecha: Obtener mas de 24h -> days (De 1 a 7) - Por defecto es 1 dia / Tambien puedes filtrar por mes y año (month= y year=)
- Filtro 1 -> Localización (regionID/constellationID/systemID)
- Filtro 2 -> Agresor(es) (killerID/corpGankerID/allianceGankerID)
- Filtro 3 -> Nave destruida (Grupo de naves) (killedShipTypeID/killedShipTypeGroupID)
- Filtro 4 -> Victima (victimID/victimCorpID/victimAllianceID)

* Ahora mismo solo es posible hacerlo de 1 en 1 el filtro (por ejemplo solo se puede comprobar 1 region), cuando pueda habilitare la manera para que se pueda hasta 10 ID's diferentes
Ejemplos:
http://tracker.eveminingsquad.com/?modulo=api&call=lastGanks&regionID=10000002&days=7 (Ultimos gankeos en The Forge - En la ultima semana)
http://tracker.eveminingsquad.com/?modulo=api&call=lastGanks&regionID=10000002&killerID=228983997 (Ultimos gankeos en The Forge por un ganker)
http://tracker.eveminingsquad.com/?modulo=api&call=lastGanks&killedShipTypeGroupID=463 (Ultimas mining barges destruidas)
http://tracker.eveminingsquad.com/?modulo=api&call=lastGanks&victimCorpID=1000009 (Ultimos ganks que ha recibido la corporacion NPC: Caldari Provisions)
http://tracker.eveminingsquad.com/?modulo=api&call=lastGanks&regionID=10000002&month=1&year=2016 (Gankeos en la region de The Forge - Enero 2016)

[statistics] Estadisticas de gankeos

Esta llamada permite obtener los gankeos que se han realizado en un mes. Se debe poner como requerimiento el Mes y el año
URL Final: http://tracker.eveminingsquad.com/?modulo=api&call=statistics&statisticType=region®ionID=10000002&year=2016&month=1
Variables necesarias:
- month -> Debes utilizar month= para poner el mes.
- year -> Debes utilizar year= para poner el año.
- statisticsType -> Tienes que utilizar characterID para un personaje, corporationID para una corporación, allianceID para una alianza, systemID para un sistema solar, constellationID para una constelación y regionID para la region.

Ejemplos:
http://tracker.eveminingsquad.com/?modulo=api&call=statistics&statisticType=region&regionID=10000002&year=2016&month=1 (Ultimos gankeos en The Forge - Enero 2016)
http://tracker.eveminingsquad.com/?modulo=api&call=statistics&statisticType=alliance&allianceID=99002775&year=2016&month=1 (Gankeos hechos por CODE. en Enero de 2016)

[sync] Para mantener sincronizado la pagina web

Esta llamada tiene todas las llamadas en una sola, pero muy limitada, ya que no tiene filtros. Esta llamada la utiliza la web para mantener la información actualizada. Puedes utilizarla.
URL Final: http://tracker.eveminingsquad.com/?modulo=api&call=sync
Avaliable filters: None.