[ Disclaimer, Create new user --- Wiki markup help, Install P99 ]
Difference between revisions of "Zones.json"
From Project 1999 Wiki
(One intermediate revision by one user not shown) | |||
Line 14: | Line 14: | ||
**** Params - All object fields | **** Params - All object fields | ||
**** Response - Objects that match | **** Response - Objects that match | ||
− | |||
** Future bug fixes: | ** Future bug fixes: | ||
** Fix unique cases where scraper doesn't work right | ** Fix unique cases where scraper doesn't work right | ||
Line 23: | Line 22: | ||
* Repo - https://github.com/pastram-i/eqatlas_api | * Repo - https://github.com/pastram-i/eqatlas_api | ||
+ | '''current version:''' | ||
+ | |||
+ | https://github.com/pastram-i/eqatlas_api/blob/master/app/src/zones.json | ||
---- | ---- | ||
'''Schema:''' | '''Schema:''' | ||
− | < | + | <pre> |
− | { | + | |
− | " | + | [ |
− | "Continent": " | + | { |
− | "Type": " | + | "string": { #zone name |
− | "URL Name": " | + | "Continent": "string", |
− | "Friendly Name (If different)": null, | + | "Type": "string", |
− | "Name in /who": " | + | "URL Name": "string", |
− | "Full URL": " | + | "Friendly Name (If different)": "string" | null, |
− | "Inactive": | + | "Name in /who": "string", |
− | "46+": | + | "Full URL": "string", |
− | "Key Required": | + | "Inactive": bool, |
− | "Adjacent Zones": " | + | "46+": bool, |
− | "Ocean Connections": [], | + | "Key Required": bool, |
− | "1 Way Connections": [], | + | "Adjacent Zones": [ |
− | "Firepot Port": | + | { |
− | "Shaman Port": | + | "name" : "string", |
− | "Druid Port": | + | "link" : "string" |
− | "Wizard Port": | + | }, |
− | "Level of Monsters": " | + | ], |
− | "Types of Monsters": " | + | "Ocean Connections": [ |
− | "Notable NPCs": " | + | { |
− | "Unique Items": [], | + | "name" : "string", |
+ | "link" : "string" | ||
+ | }, | ||
+ | ], | ||
+ | "1 Way Connections": [ | ||
+ | { | ||
+ | "name" : "string", | ||
+ | "link" : "string" | ||
+ | }, | ||
+ | ], | ||
+ | "Firepot Port": bool, | ||
+ | "Shaman Port": bool, | ||
+ | "Druid Port": bool, | ||
+ | "Wizard Port": bool, | ||
+ | "Level of Monsters": [ | ||
+ | (int, int, "string"), #(Bottom, Top, Extra text) | ||
+ | ], #Some zones have >1, list is needed | ||
+ | "Types of Monsters": [ | ||
+ | "string", | ||
+ | ], | ||
+ | "Notable NPCs": [ | ||
+ | { | ||
+ | "name" : "string", | ||
+ | "link" : "string" | ||
+ | }, | ||
+ | ], | ||
+ | "Unique Items": [ | ||
+ | { | ||
+ | "name" : "string", | ||
+ | "link" : "string", | ||
+ | "details" : [ | ||
+ | "string", #line-by-line breakdown of item window | ||
+ | ] | ||
+ | }, | ||
+ | ], | ||
"ZEM Value": "n/a", | "ZEM Value": "n/a", | ||
− | "Succor/Evacuate": | + | "Succor/Evacuate": (int, int, "string"), #(Bottom, Top, Extra text) |
− | "Zone Spawn Timer": | + | "Zone Spawn Timer": int, #Minute as fraction (ie 1:30 = 1.5) |
− | "Related Quests": [], | + | "Related Quests": [ |
− | "Guilds": [], | + | { |
− | "City Races": [], | + | "name" : "string", |
− | "Tradeskill Facilities": [], | + | "link" : "string" |
− | "Player Guides": [] | + | }, |
+ | ], | ||
+ | "Guilds": [ | ||
+ | { | ||
+ | "name" : "string", | ||
+ | "link" : "string" | ||
+ | }, | ||
+ | ], | ||
+ | "City Races": [ | ||
+ | { | ||
+ | "name" : "string", | ||
+ | "link" : "string" | ||
+ | }, | ||
+ | ], | ||
+ | "Tradeskill Facilities": [ | ||
+ | { | ||
+ | "name" : "string", | ||
+ | "link" : "string" | ||
+ | }, | ||
+ | ], | ||
+ | "Player Guides": [ | ||
+ | { | ||
+ | "name" : "string", | ||
+ | "link" : "string" | ||
+ | }, | ||
+ | ] | ||
} | } | ||
}, | }, | ||
− | </ | + | ] |
− | + | </pre> | |
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 20:17, 23 March 2023
Notes
- Currently just a json (schema/most recent version below)
- Gathered via scraping
- So some things may be weird/incorrect?
- Future updates:
- API (EQAtlas)
- GET/zone
- Params - Name
- Response - json object
- GET/path
- Params - Start, End, Ports Bool
- Response - Path from Start -> End
- GET/all_zones
- Params - All object fields
- Response - Objects that match
- GET/zone
- Future bug fixes:
- Fix unique cases where scraper doesn't work right
- API (EQAtlas)
- Repo - https://github.com/pastram-i/eqatlas_api
current version:
https://github.com/pastram-i/eqatlas_api/blob/master/app/src/zones.json
Schema:
[ { "string": { #zone name "Continent": "string", "Type": "string", "URL Name": "string", "Friendly Name (If different)": "string" | null, "Name in /who": "string", "Full URL": "string", "Inactive": bool, "46+": bool, "Key Required": bool, "Adjacent Zones": [ { "name" : "string", "link" : "string" }, ], "Ocean Connections": [ { "name" : "string", "link" : "string" }, ], "1 Way Connections": [ { "name" : "string", "link" : "string" }, ], "Firepot Port": bool, "Shaman Port": bool, "Druid Port": bool, "Wizard Port": bool, "Level of Monsters": [ (int, int, "string"), #(Bottom, Top, Extra text) ], #Some zones have >1, list is needed "Types of Monsters": [ "string", ], "Notable NPCs": [ { "name" : "string", "link" : "string" }, ], "Unique Items": [ { "name" : "string", "link" : "string", "details" : [ "string", #line-by-line breakdown of item window ] }, ], "ZEM Value": "n/a", "Succor/Evacuate": (int, int, "string"), #(Bottom, Top, Extra text) "Zone Spawn Timer": int, #Minute as fraction (ie 1:30 = 1.5) "Related Quests": [ { "name" : "string", "link" : "string" }, ], "Guilds": [ { "name" : "string", "link" : "string" }, ], "City Races": [ { "name" : "string", "link" : "string" }, ], "Tradeskill Facilities": [ { "name" : "string", "link" : "string" }, ], "Player Guides": [ { "name" : "string", "link" : "string" }, ] } }, ]