Find upcoming events in a field
List the seminars, conferences and workshops coming up in one field, then read the details of one.
The examples read the key from $WW_API_KEY; the Quickstart shows how to create one.
Steps
- 1
List the fields and take the
slugof yours. Neuroscience isneuro.curl --fail-with-body "https://world-wide.org/api/v1/fields" -H "Authorization: Bearer $WW_API_KEY"Show the responseResponse 200
{ "items": [ { "slug": "neuro", "name": "Neuroscience", "itemCount": 10111, "url": "https://world-wide.org/neuro" }, { "slug": "comp-neuro", "name": "Computational Neuroscience", "itemCount": 3063, "url": "https://world-wide.org/comp-neuro" } ] } - 2
Search without
qto list everything under the filters, soonest first. Each entry initemshas anidsuch asconference:019b….curl --fail-with-body --get "https://world-wide.org/api/v1/search" \ -d "field=neuro" -d "type=seminar,conference,workshop" -d "when=upcoming" -d "limit=50" \ -H "Authorization: Bearer $WW_API_KEY"Show the responseResponse 200
{ "items": [ { "id": "seminar:019b891c-b981-74dc-8f5c-87b1e1ec2c21", "type": "seminar", "title": "Astrocyte signalling in sleep", "url": "https://world-wide.org/seminar/astrocyte-signalling-in-sleep-k3m9x2p7", "date": "2027-03-10", "endDate": null, "startsAt": "2027-03-10T16:00:00Z", "deadline": null, "organization": "Example Sleep Seminar Series", "people": [ "A. Speaker" ], "location": "Online", "fields": [ "neuro" ], "upcoming": true, "recorded": false, "imageUrl": null, "snippet": "How astrocytes regulate sleep pressure across the night." }, { "id": "conference:019b891c-b981-74dc-8f5c-87b1e1ec2c91", "type": "conference", "title": "Example Conference on Neural Circuits 2027", "url": "https://world-wide.org/conference/example-conference-2027", "date": "2027-06-01", "endDate": "2027-06-03", "startsAt": null, "deadline": null, "organization": "Example Society", "people": [], "location": "Vienna, Austria", "fields": [ "neuro" ], "upcoming": true, "recorded": false, "imageUrl": null, "snippet": "Three days on circuit mechanisms of behaviour." } ], "page": 1, "limit": 50, "hasMore": true, "total": null, "partial": null } - 3
While
hasMoreis true, ask for the nextpage. The first 1,000 rows can be paged; for more, split the period withfromandtoand page each part.curl --fail-with-body --get "https://world-wide.org/api/v1/search" \ -d "field=neuro" -d "type=seminar,conference,workshop" -d "when=upcoming" -d "limit=50" -d "page=2" \ -H "Authorization: Bearer $WW_API_KEY" - 4
Pass an
idto Get an item for its description, links, topics and type-specificmetadata.curl --fail-with-body "https://world-wide.org/api/v1/items/conference:019b891c-b981-74dc-8f5c-87b1e1ec2c91" -H "Authorization: Bearer $WW_API_KEY"
If it fails
- An empty
itemswithpartialnull means nothing matched. Ifpartialis set, the types inpartial.missingTypescould not be read in time: repeat the request later. 400names the filter it refused, for example a jobs-only filter with event types, orfromtogether withq.503 SEARCH_UNAVAILABLE: wait the 5 seconds inRetry-Afterand repeat.