good-gym / opendata Goto Github PK
View Code? Open in Web Editor NEWDocumentation, Changelog and Issues related to the Goodgym RPDE endpoint
Documentation, Changelog and Issues related to the Goodgym RPDE endpoint
Hello @manzan46,
Hope you're having a good summer! Just noticed that all the images in the GoodGym endpoint are set to null? Those images really bring your sessions to life, would be great to have them back!
Thanks,
NIck
Hi @manzan46,
Just noticed a small typo, the property:
"genderRestricted": "mixed"
should be
"genderRestriction": "mixed"
Thanks!
Nick
Is there a field in your data to distinguish whether a particular GoodGym session is for only one gender, e.g females only like the Cancer Research run? https://www.goodgym.org/races/cancer-research-uk-race-for-life-half-marathon
Alternatively this may not be an issue as there are very few sessions for only one gender. Either way, might be useful to have something to define it in the dataset. Thanks!
Hi,
Love the feed. Love the docs. I just had one suggestion: Would it be possible to increase the page size?
It's currently set to 20, which means that it takes a very long while for crawlers (e.g. crawlers which use a cronjob) to get to the end of it. This means that GoodGym data in these aggregators will be less up to date.
If it was set to 500, that would be ideal. This is also what RPDE recommends (https://www.w3.org/2017/08/realtime-paged-data-exchange/#modified-timestamp-and-id).
You could implement this as a limit
query parameter, which is an optional field in RPDE. e.g. &limit=500
Thanks
Luke
Hi
Something that I think would help both us (imin, who are consuming your feed) and yourselves: Implementing a retention period.
This is discussed in the OpenActive developer docs: https://developer.openactive.io/publishing-data/data-feeds/scaling-feeds#retention-period, which suggests setting "old" items (i.e. items whose startDate
is in the past) to deleted
and then deleting them "at least 7 days from the point in time at which it transitioned to a "deleted" state".
This would help us immensely as we sometimes need to re-ingest your feed and it takes a very long time to get through it as it includes sessions from 2014- onwards.
Hopefully it would help you as well as you would be free to delete old sessions from the database (or move them to an archive), which may help with costs/performance.
Hi Axel, the type of your activity
type changes between a string and array, based on whether it includes Running and/or Volunteering. Could you change it so that it's just an array? So "Running would be ["Running"]
and then also `["Running", "Volunteering"]. Thanks!
Hi Axel,
Here's a version of your endpoint conforming to the modelling spec, making use of the new beta namespace. I've been using it to test the process, based on your work before.
Hope this helps! Let me know what you think!
Nick
"data": {
"@context": [
"https://www.openactive.io/ns/oa.jsonld",
"https://www.openactive.io/ns-beta/oa.jsonld"
],
"type": "Event",
"organizer": {
"type": "Organization",
"url": "http://www.goodgym.org/",
"name": "GoodGym",
"logo": "https://www.goodgym.org/assets/goodgym_red-688adde9f7d011eb16c0cafa461d8f214e93fdefe2044d10f6cf68fee52c1584.png"
},
"name": "Track session with Run Fast and Victoria Park Harriers",
"disambiguatingDescription": "The chance to do some good hard interval training with a group of lovely people and top runners", /* strapline */
"url": "http://www.goodgym.org/happenings/track-session-with-run-fast-and-victoria-park-harriers",
"description": "Our wonderful friends at Run Fast (www.run-fast.net) have given GoodGym the opportunity to get involved with their track sessions at Mile End track in conjunction with Victoria Park Harriers. This is a great opportunity if you are looking to step up your training a notch or two and carry out some focused interval training.\nWhat to expect?\nSessions take place on the track at Mile End and are led by Peter McHugh, well known in the UK for supporting some of the best UK based distance runners and some top African athletes. Sessions are of mixed ability - from marathon winners to marathon first timers - they will challenge you, they will be different - but that's how you get fitter, stronger and faster! \nAm I good enough?\nIf you feel confident of running 5-10km (don't worry about pace) then you'll get something out of the sessions. After a warm up and drills the session will usually consist of 20-30 minutes worth of running broken up into repetitions (efforts) and intervals (rest periods) - everyone runs their own pace within the same session. \nWhy?\nFirstly it will help you step up your running to new levels and will push you, showing you are capable of more than you thought possible! Aside from this spreading the word about GoodGym to other local runners and getting to meet another group of friendly supportive runners is well worth the trip!\nRunning on a track is a different experience and it can be fantastic to see runners of all abilities really pushing themselves - it is a pretty inspiring environment. \nWhat will I need?\nRunning kit, water and Β£3 for the track fee - details here - http://www.better.org.uk/leisure/mile-end-park-leisure-centre/facilities.\nWhen?\nTuesday 12th August at 18:50 - the session will start just after 19:00 - please don't be late! \nWho can I talk to about this??\nPop Tom an email - [email protected] and he will answer them....he hopes! \n",
"activity": "Running",
"programme": "TrainingSession",
"startDate": "2014-08-12T18:50:00Z",
"endDate": "2014-08-12T20:45:00Z",
"duration": "PT115M",
"location": {
"type": "Place",
"address": {
"type": "PostalAddress",
"streetAddress": "Rhodeswell Road",
"addressLocality": "London",
"postalCode": "E14 7TW"
},
"beta:meetingPoint": "", /* accessNotes */
"areaServed": "Tower Hamlets",
"description": "", /* accessOtherInformation */
},
"image": [
{ "@type": "Image", "url": "https://gg-api.s3.amazonaws.com/uploads/photo/image/21667/uploads_2F1462893771268-1wn3a7whgfpopcad-e038cb67411c05d06ff188b0a029dce2_2F20150307_122900.jpg" },
{ "@type": "Image", "name": "home_wide", "url": "https://gg-api.s3.amazonaws.com/uploads/photo/image/21667/uploads_2F1462893771268-1wn3a7whgfpopcad-e038cb67411c05d06ff188b0a029dce2_2F20150307_122900.jpg", "width": "120 px", "height": "80 px" }
...
],
"leader": {
"name": null,
"email": null,
"description": null
},
"beta:attendeeCount": 10,
"beta:hasCoaching": false,
"beta:level": "beginner", /* set to "beginner" if starter_session = true */
"beta:distance": {
"value": 6,
"unitCode": "KMT"
},
"image": "https://gg-api.s3.amazonaws.com/uploads/photo/image/5736/uploads_2F1407254366636-3u1n55vs7kivygb9-d692e79ec29ae848ff24c0dd960b9245_2FMile%2BEnd%2BLeisure%2BCentre%2BRear%2Bbuiliding%2Band%2Btrack.jpg",
"ageRange": "18",
"genderRestricted": "mixed",
"offer": [
{
"name": "Free Membership",
"price": "0.00",
"priceCurrency": "GDP",
"beta:paymentFrequency": "monthly",
"type": "Offer"
},
{
"name": "Optional Monthly Donation",
"price": "9.95",
"priceCurrency": "GDP",
"beta:paymentFrequency": "monthly",
"type": "Offer"
}
],
}
@manzan46 For example, https://www.goodgym.org/api/happenings/11681 has start date 2018-05-07T18:30:00Z
but the website, https://www.goodgym.org/happenings/get-fit-3cf9a254-5dda-46d8-8155-13e40171be1a, shows "6:30pm". Since we're in British Summer Time, local "6:30pm" is "18:30:00+01:00" i.e. "17:30:00Z"
Hi Axel and team,
We've realised that while looking at some other datasets, that your timestamps might be an hour out during British Summer Time. You're providing the data in UTC (ISO 8601 - a Z
is appended to the end of the timestamp); currently, we are British Summer Time, which is UTC+1, however on your website the times are listed as the same as in the dataset (UTC). Just looking for some clarification on whether these times are in fact correct (they are UTC+1) and the Z
has been added on in error, or are wrong and out by an hour.
Thanks!
Hi @manzan46, hope you're having a good summer!
I visited your dataset page just now to have a look at your OpenActive endpoint and was greeted with a 404 error. Has your endpoint changed?
Thanks,
Dom
Hi there,
The description
field in some of the data items has info like meetingPoint
included...would be super useful if this could be a separate field in the data. Also would be great to have more transparency over equipment/clothing needed (e.g protective clothing). Lastly, a sessionLeader
or similar field, for who is leading the session, with their contact details, would be great too.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.