Would there be a way to search for nearby events?
https://op.keyforgegame.com/en/store-locator/#/stores
Would there be a way to search for nearby events?
https://op.keyforgegame.com/en/store-locator/#/stores
There's a third party page but it's driven by user's adding data, so if user's in your area haven't added the events it won't help much: https://www.keyforgelfg.com/near/plano-tx
AFAIK, FFG hasn't had an event search, you have to contact the stores in the area that are shown on the page.
Either way, results may vary. Some of the shops they have in my area that show on their list aren't doing events because they either don't have stock or they didn't get the OP kit in.
So using the public rest api at https://op.keyforgegame.com/en/store-locator/#/stores I made an (ugly) implementation of my idea.
I want to know what events will happen in the LFGS's around me.
https://qanar.github.io/index.html
It will ask to know your location, that is normal. Code (again ugly) can be seet at https://github.com/qanar/qanar.github.io/blob/master/index.html
The exact rest call I used was https://retailers-backend.asmodeena.com/api/v1/stores/?location=41.1746048,7.4555952&radius=50 (changed some random numbers in location).
35 minutes ago, Qanar said:So using the public rest api at https://op.keyforgegame.com/en/store-locator/#/stores I made an (ugly) implementation of my idea.
I want to know what events will happen in the LFGS's around me.
https://qanar.github.io/index.html
It will ask to know your location, that is normal. Code (again ugly) can be seet at https://github.com/qanar/qanar.github.io/blob/master/index.html
The exact rest call I used was https://retailers-backend.asmodeena.com/api/v1/stores/?location=41.1746048,7.4555952&radius=50 (changed some random numbers in location).
Where are the "date" field contents coming from?
38 minutes ago, CaptainJaguarShark said:Where are the "date" field contents coming from?
{
"id": 1725,
"name": "Keyforge Chainbound Tournament",
"description": "",
"location": 1850,
"lat": 51.0344397,
"lng": 4.510083799999961,
"product_lines": [
"bb21a572-3d9e-4eaf-9287-b56a483a2ab7"
],
"date_start": "2019-02-14T18:00:00Z",
"date_end": "2019-02-14T21:00:00Z",
"timezone": "Europe/Brussels",
"event_type": 1,
"link": "",
"registration_link": "",
"social_links": [],
"studios": [
"ffg"
],
"event_series": "ChainBound 2019"
}
It's from the date_start variable in an event. Formatted in dd/mm/yyyy, so that might confuse you (sorry, so very european of me) I'll see if I can print it in a locale.
Sorry, I didn't actually realize there was any event data in the store locator. When I remember checking that, it seemed like it was just a list of stores with no indication of actual events. Looks like either that's changed or the stores in my area have started reporting this when they weren't before.
You have to click on each separate store to see their event data. Anyways, date should now be in the locale of your browser.