This is the source code in all its PHP mess for xivapi.com and built using Symfony 4 Slim. Use at your own risk!
Note regarding contributions: I am not really looking for development contributions to core features as this time (data building and presenting) because I will be splitting much of the logic out into their own small dedicated micro-services. This will allow developers to just focus on small bits if they choose or if they only care about using 1 feature in their own tools.
- You need vagrant.
cd /vmvagrant plugin install vagrant-hostmanagervagrant up- Access: http://xivapi.local
- If you have
adminer.phpin/sysopsyou can access: http://xivapi.adminer
- Restart:
sudo systemctl restart elasticsearch - Stop:
sudo systemctl stop elasticsearch - Start:
sudo systemctl start elasticsearch - Test:
curl -X GET 'http://localhost:9200' - Delete all indexes:
curl -XDELETE 'http://localhost:9200/*' - list all indexes:
curl -X GET 'http://localhost:9200/_cat/indices?v'
The list below shows all current micro-services in development.
| Service | Repository | Notes |
|---|---|---|
| Game Data Builder | https://github.com/xivapi/xivapi-data | Build the game data automatically using SaintCoinach Schema |
| Game Search | - | This will split out the ElasticSearch logic from XIVAPI.com into its own dedicated microservice. |
| Mog (DiscordBot) | https://github.com/xivapi/xivapi-mog | A PHP Discord bot, a bot that will message a channel either via running CLI command or can even be done via REST, I use this to announce deployment info. I may use it for other interacts, it was more of a concept that turned out quite good |
| Mappy | https://github.com/xivapi/xivapi-mappy - https://xivapi.com/docs/Mappy-Data | A C# App that provides various memory information of NPCs, Enemies and Objects to XIVAPI. Good for building FFXIV Maps! |
| Tooltips | https://github.com/xivapi/xivapi-tooltips | A concept for getting information for FFXIV tooltips. Very early stages |
| Custom Launcher | https://github.com/xivapi/ffxiv-launcher | This is not XIVAPI specific however I do want to include features that talk to XIVAPI such as dev posts, lodestone news, character and friend information, etc. |
| Lodestone Parser | https://github.com/xivapi/lodestone-parser | A HTML parser written in PHP, parses Lodestone, simple! |
If you are interested in building a service using the API, there are some libraries:
Maybe online API's are not your jam, maybe you're sick of the responses and how hard it is to build models, have you considered a datamining career!? Here are some awesome resources:
- You need vagrant.
cd /vmvagrant plugin install vagrant-hostmanagervagrant up- Access: http://xivapi.local
- If you have
adminer.phpin/sysopsyou can access: http://xivapi.adminer
- Restart:
sudo systemctl restart elasticsearch - Stop:
sudo systemctl stop elasticsearch - Start:
sudo systemctl start elasticsearch - Test:
curl -X GET 'http://localhost:9200' - Delete all indexes:
curl -XDELETE 'http://localhost:9200/*' - list all indexes:
curl -X GET 'http://localhost:9200/_cat/indices?v'
