AAO-React-Native
AAO-React-Native copied to clipboard
Fetch a continually growing list of streams
@hawkrives this morning:
AAO is reporting no streams, but the Olaf website has streams. Can someone check the URL that AAO uses and see if it's an AAO problem, or a St. Olaf problem?
After checking, it looks like the feed we use for our listing, stolaf.edu/multimedia/api/collection is fine, but for some reason clients aren't rendering any of the contents of that JSON slug. Did something change?
We’re filtering by date so nothing is broken 👍 but this is impetus to change the date range that we filter if we want to list everything.
Copying from #2748…
@rye:
Something something infinite scrolling? I'd like to see this feature be like that. I wonder if there's a way we can do this in a better style.
- Near events would be anything from today to next week. This would be ~7+ events during the school year, but would be a pretty small slug.
- Recent events would be, say, 16 events prior to today.
- Future events would be, say, 16 events after next week.
First, fetch near events, then fetch future events, and then fetch recent events. Render the start of the list at today. As the user scrolls around, once they hit 1–2 screen-fulls away from the end of the list, fetch the next list in the direction, and silently append it so it's ready to scroll onto.
The big thing is that we want this to be seamless. I don't want to incorporate filters unless we also want to start annotating stuff by what it is, (e.g. Chapel, etc.) at which point we'd have yet another filtered ListView in this app. I think that is out-of-scope for solving the underlying problem here.
How about the following sections: "This week", "Future", and "Past". Scroll to "this week" by default. WRT infinite-ish scrolling, if we can put things in a section-less section ahead of "This Week", then we don't need a section for "Past events", just "Future" and "This week."
@rye To whit, for your comments, it's a lot easier to filter Streams than it is to filter Calendar, because we actually have the Streams metadata.
Because we actually have an API? Wow, it's amazing what those can do.
We have an API for the calendar, too. We just don't have any metadata, because no one enters it. (I hear that may be changing, stay tuned!)
For instance, events with categories:
curl https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/events
HTTP/1.1 200 OK
Access-Control-Allow-Headers: Authorization, Content-Type
Access-Control-Expose-Headers: X-WP-Total, X-WP-TotalPages
Allow: GET
Cache-Control: max-age=0, public
Connection: Keep-Alive
Content-Encoding: gzip
Content-Length: 4711
Content-Type: application/json; charset=UTF-8
Date: Thu, 09 Aug 2018 01:14:52 GMT
Expires: Thu, 09 Aug 2018 01:14:52 GMT
Keep-Alive: timeout=5, max=100
Link: <https://wp.stolaf.edu/calendar/wp-json/>; rel="https://api.w.org/"
Server: Apache
Strict-Transport-Security: max-age=31536000;
Vary: Accept-Encoding,Cookie,Origin
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Robots-Tag: noindex
X-TEC-Total: 563
X-TEC-TotalPages: 57
body
```json { "events": [ { "all_day": false, "author": "3244", "categories": [ { "count": 261, "description": "", "filter": "raw", "id": 19, "name": "Performing and Visual Arts", "parent": 0, "slug": "performing-and-visual-arts", "taxonomy": "tribe_events_cat", "term_group": 0, "term_taxonomy_id": 19, "urls": { "collection": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/categories", "self": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/categories/19" } } ], "cost": "$5", "cost_details": { "currency_position": "prefix", "currency_symbol": "", "values": [ "5" ] }, "date": "2018-07-16 11:01:42", "date_utc": "2018-07-16 16:01:42", "description": "This concert will feature the Artaria Quartet, which is celebrating it’s 32nd season together. This concert will also feature clarinetist Scott Anderson; an associate professor of music at St. Olaf College with emphasis on clarinet. This performance will feature works by Brahms as well as others.
\nTickets are available for $5 at the door!
", "end_date": "2018-08-16 20:30:00", "end_date_details": { "day": "16", "hour": "20", "minutes": "30", "month": "08", "seconds": "00", "year": "2018" }, "excerpt": "", "featured": false, "global_id": "wp.stolaf.edu/calendar?id=16546", "global_id_lineage": [ "wp.stolaf.edu/calendar?id=16546" ], "hide_from_listings": false, "id": 16546, "image": { "extension": "jpg", "height": 334, "id": "16549", "sizes": { "blog-card": { "height": 300, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/artaria-400x300.jpg", "width": 400 }, "medium": { "height": 200, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/artaria-300x200.jpg", "width": 300 }, "medium-rectangle": { "height": 245, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/artaria-370x245.jpg", "width": 370 }, "menu": { "height": 300, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/artaria-500x300.jpg", "width": 500 }, "panel-set-preview": { "height": 334, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/artaria-500x334.jpg", "width": 500 }, "profile-image": { "height": 250, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/artaria-200x250.jpg", "width": 200 }, "small-image": { "height": 300, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/artaria-500x300.jpg", "width": 500 }, "small-rectangle": { "height": 170, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/artaria-270x170.jpg", "width": 270 }, "small-square": { "height": 272, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/artaria-272x272.jpg", "width": 272 }, "square": { "height": 334, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/artaria-370x334.jpg", "width": 370 }, "thumbnail": { "height": 150, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/artaria-150x150.jpg", "width": 150 } }, "url": "https://wp.stolaf.edu/calendar/files/2018/07/artaria.jpg", "width": 500 }, "modified": "2018-07-16 11:01:42", "modified_utc": "2018-07-16 16:01:42", "organizer": [ { "author": "3244", "date": "2018-07-16 10:39:50", "date_utc": "2018-07-16 15:39:50", "email": "[email protected]", "global_id": "wp.stolaf.edu/calendar?id=16548", "global_id_lineage": [ "wp.stolaf.edu/calendar?id=16548" ], "id": 16548, "modified": "2018-07-16 10:39:50", "modified_utc": "2018-07-16 15:39:50", "organizer": "Bridge Chamber Music Festival", "phone": "2082935421", "slug": "bridge-chamber-music-festival", "status": "publish", "url": "https://wp.stolaf.edu/calendar/organizer/bridge-chamber-music-festival/", "website": "bridgechambermusicfestival.com" } ], "rest_url": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/events/16546", "show_map": false, "show_map_link": true, "slug": "artaria-string-quartet-with-scott-anderson-clarinet", "start_date": "2018-08-16 19:30:00", "start_date_details": { "day": "16", "hour": "19", "minutes": "30", "month": "08", "seconds": "00", "year": "2018" }, "status": "publish", "sticky": false, "tags": [ { "count": 138, "description": "", "filter": "raw", "id": 46, "name": "Music", "parent": 0, "slug": "music", "taxonomy": "post_tag", "term_group": 0, "term_taxonomy_id": 46, "urls": { "collection": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/tags", "self": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/tags/46" } } ], "timezone": "America/Chicago", "timezone_abbr": "CDT", "title": "Artaria String Quartet with Scott Anderson, clarinet", "url": "https://wp.stolaf.edu/calendar/event/artaria-string-quartet-with-scott-anderson-clarinet/", "utc_end_date": "2018-08-17 01:30:00", "utc_end_date_details": { "day": "17", "hour": "01", "minutes": "30", "month": "08", "seconds": "00", "year": "2018" }, "utc_start_date": "2018-08-17 00:30:00", "utc_start_date_details": { "day": "17", "hour": "00", "minutes": "30", "month": "08", "seconds": "00", "year": "2018" }, "venue": { "author": "806", "city": "Northfield", "date": "2017-09-18 11:39:43", "date_utc": "2017-09-18 16:39:43", "geo_lat": 44.4582983, "geo_lng": -93.161604, "global_id": "wp.stolaf.edu/calendar?id=240", "global_id_lineage": [ "wp.stolaf.edu/calendar?id=240" ], "id": 240, "modified": "2017-10-18 12:16:44", "modified_utc": "2017-10-18 17:16:44", "province": "MN", "show_map": true, "show_map_link": true, "slug": "christiansen-hall-of-music-100-urness-recital-hall", "stateprovince": "MN", "status": "publish", "url": "https://wp.stolaf.edu/calendar/venue/christiansen-hall-of-music-100-urness-recital-hall/", "venue": "Christiansen Hall of Music, 100 Urness Recital Hall" }, "website": "www.facebook.com/events/196205981232592/ " }, { "all_day": false, "author": "3244", "categories": [ { "count": 261, "description": "", "filter": "raw", "id": 19, "name": "Performing and Visual Arts", "parent": 0, "slug": "performing-and-visual-arts", "taxonomy": "tribe_events_cat", "term_group": 0, "term_taxonomy_id": 19, "urls": { "collection": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/categories", "self": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/categories/19" } } ], "cost": "$5", "cost_details": { "currency_position": "prefix", "currency_symbol": "", "values": [ "5" ] }, "date": "2018-07-16 10:53:26", "date_utc": "2018-07-16 15:53:26", "description": "A recital of performances featuring local young talent. Details to come.
", "end_date": "2018-08-19 15:00:00", "end_date_details": { "day": "19", "hour": "15", "minutes": "00", "month": "08", "seconds": "00", "year": "2018" }, "excerpt": "", "featured": false, "global_id": "wp.stolaf.edu/calendar?id=16550", "global_id_lineage": [ "wp.stolaf.edu/calendar?id=16550" ], "hide_from_listings": false, "id": 16550, "image": { "extension": "jpg", "height": 819, "id": "16552", "sizes": { "blog-card": { "height": 300, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-400x300.jpg", "width": 400 }, "blog-card-large": { "height": 450, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-600x450.jpg", "width": 600 }, "large": { "height": 819, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-1024x819.jpg", "width": 1024 }, "large-image": { "height": 600, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-820x600.jpg", "width": 820 }, "large-rectangle": { "height": 400, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-1024x400.jpg", "width": 1024 }, "large-square-image": { "height": 800, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-800x800.jpg", "width": 800 }, "medium": { "height": 240, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-300x240.jpg", "width": 300 }, "medium-rectangle": { "height": 245, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-370x245.jpg", "width": 370 }, "medium_large": { "height": 614, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-768x614.jpg", "width": 768 }, "menu": { "height": 300, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-600x300.jpg", "width": 600 }, "panel-set-preview": { "height": 400, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-500x400.jpg", "width": 500 }, "panel-set-thumbnail": { "height": 480, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-600x480.jpg", "width": 600 }, "profile-image": { "height": 250, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-200x250.jpg", "width": 200 }, "rectangle": { "height": 415, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-720x415.jpg", "width": 720 }, "secondary-hero": { "height": 350, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-1024x350.jpg", "width": 1024 }, "small-image": { "height": 300, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-520x300.jpg", "width": 520 }, "small-rectangle": { "height": 170, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-270x170.jpg", "width": 270 }, "small-square": { "height": 272, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-272x272.jpg", "width": 272 }, "social-share": { "height": 630, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-1024x630.jpg", "width": 1024 }, "square": { "height": 370, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-370x370.jpg", "width": 370 }, "thumbnail": { "height": 150, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist-150x150.jpg", "width": 150 } }, "url": "https://wp.stolaf.edu/calendar/files/2018/07/Yooung-Artist.jpg", "width": 1024 }, "modified": "2018-07-16 10:53:26", "modified_utc": "2018-07-16 15:53:26", "organizer": [ { "author": "3244", "date": "2018-07-16 10:39:50", "date_utc": "2018-07-16 15:39:50", "email": "[email protected]", "global_id": "wp.stolaf.edu/calendar?id=16548", "global_id_lineage": [ "wp.stolaf.edu/calendar?id=16548" ], "id": 16548, "modified": "2018-07-16 10:39:50", "modified_utc": "2018-07-16 15:39:50", "organizer": "Bridge Chamber Music Festival", "phone": "2082935421", "slug": "bridge-chamber-music-festival", "status": "publish", "url": "https://wp.stolaf.edu/calendar/organizer/bridge-chamber-music-festival/", "website": "bridgechambermusicfestival.com" } ], "rest_url": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/events/16550", "show_map": false, "show_map_link": true, "slug": "young-artist-recital", "start_date": "2018-08-19 14:00:00", "start_date_details": { "day": "19", "hour": "14", "minutes": "00", "month": "08", "seconds": "00", "year": "2018" }, "status": "publish", "sticky": false, "tags": [ { "count": 138, "description": "", "filter": "raw", "id": 46, "name": "Music", "parent": 0, "slug": "music", "taxonomy": "post_tag", "term_group": 0, "term_taxonomy_id": 46, "urls": { "collection": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/tags", "self": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/tags/46" } } ], "timezone": "America/Chicago", "timezone_abbr": "CDT", "title": "Young Artist Recital", "url": "https://wp.stolaf.edu/calendar/event/young-artist-recital/", "utc_end_date": "2018-08-19 20:00:00", "utc_end_date_details": { "day": "19", "hour": "20", "minutes": "00", "month": "08", "seconds": "00", "year": "2018" }, "utc_start_date": "2018-08-19 19:00:00", "utc_start_date_details": { "day": "19", "hour": "19", "minutes": "00", "month": "08", "seconds": "00", "year": "2018" }, "venue": { "author": "806", "city": "Northfield", "date": "2017-09-18 11:40:02", "date_utc": "2017-09-18 16:40:02", "global_id": "wp.stolaf.edu/calendar?id=265", "global_id_lineage": [ "wp.stolaf.edu/calendar?id=265" ], "id": 265, "modified": "2017-10-18 12:08:56", "modified_utc": "2017-10-18 17:08:56", "province": "MN", "show_map": true, "show_map_link": true, "slug": "skifter-hall", "stateprovince": "MN", "status": "publish", "url": "https://wp.stolaf.edu/calendar/venue/skifter-hall/", "venue": "Skifter Hall" }, "website": "www.facebook.com/events/696456694079846/" }, { "all_day": false, "author": "1", "categories": [ { "count": 809, "description": "", "filter": "raw", "id": 3, "name": "Athletics", "parent": 0, "slug": "athletics", "taxonomy": "tribe_events_cat", "term_group": 0, "term_taxonomy_id": 3, "urls": { "collection": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/categories", "self": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/categories/3" } } ], "cost": "", "cost_details": { "currency_position": "", "currency_symbol": "", "values": [] }, "date": "2018-04-17 11:09:10", "date_utc": "2018-04-17 16:09:10", "description": "St. Olaf College Men’s Soccer vs Old Gold & Black – Scrimmage
\n http://athletics.stolaf.edu/calendar.aspx?id=14583
St. Olaf College Men’s Soccer vs Old Gold & Black – Scrimmage
\n http://athletics2.stolaf.edu/calendar.aspx?id=14583
Lieder recital with Maria Jette, soprano, Dan Dressen, tenor, Christina Baldwin, mezzo-soprano, Jake Endres, baritone, Sonja Thompson, piano, and Nicola Melville, piano.
\nWorks by Bernstein, Gunnar De Frumerie, and Carl Nielsen.
St. Olaf College Men’s Soccer at Dakota County Technical College – Scrimmage
\n http://athletics.stolaf.edu/calendar.aspx?id=14584
St. Olaf College Men’s Soccer at Dakota County Technical College – Scrimmage
\n http://athletics2.stolaf.edu/calendar.aspx?id=14584
Renown St. Olaf faculty present works by Schumann, Brahms, and Dvorak. This performance will feature Francesca Anderegg, violin, Charles Gray, viola, David Carter, cello, and Esther Wang, piano.
", "end_date": "2018-08-23 20:30:00", "end_date_details": { "day": "23", "hour": "20", "minutes": "30", "month": "08", "seconds": "00", "year": "2018" }, "excerpt": "", "featured": false, "global_id": "wp.stolaf.edu/calendar?id=16556", "global_id_lineage": [ "wp.stolaf.edu/calendar?id=16556" ], "hide_from_listings": false, "id": 16556, "image": { "extension": "jpg", "height": 720, "id": "16558", "sizes": { "blog-card": { "height": 300, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-400x300.jpg", "width": 400 }, "blog-card-large": { "height": 450, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-600x450.jpg", "width": 600 }, "core-mobile": { "height": 720, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-1152x720.jpg", "width": 1152 }, "large": { "height": 640, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-1024x640.jpg", "width": 1024 }, "large-image": { "height": 600, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-820x600.jpg", "width": 820 }, "large-rectangle": { "height": 400, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-1152x400.jpg", "width": 1152 }, "large-square-image": { "height": 720, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-800x720.jpg", "width": 800 }, "medium": { "height": 188, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-300x188.jpg", "width": 300 }, "medium-rectangle": { "height": 245, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-370x245.jpg", "width": 370 }, "medium_large": { "height": 480, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-768x480.jpg", "width": 768 }, "menu": { "height": 300, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-600x300.jpg", "width": 600 }, "panel-set-preview": { "height": 313, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-500x313.jpg", "width": 500 }, "panel-set-thumbnail": { "height": 375, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-600x375.jpg", "width": 600 }, "profile-image": { "height": 250, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-200x250.jpg", "width": 200 }, "rectangle": { "height": 415, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-720x415.jpg", "width": 720 }, "secondary-hero": { "height": 350, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-1152x350.jpg", "width": 1152 }, "small-image": { "height": 300, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-520x300.jpg", "width": 520 }, "small-rectangle": { "height": 170, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-270x170.jpg", "width": 270 }, "small-square": { "height": 272, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-272x272.jpg", "width": 272 }, "social-share": { "height": 630, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-1152x630.jpg", "width": 1152 }, "square": { "height": 370, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-370x370.jpg", "width": 370 }, "thumbnail": { "height": 150, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players-150x150.jpg", "width": 150 } }, "url": "https://wp.stolaf.edu/calendar/files/2018/07/Bridge-Chamber-Music-Players.jpg", "width": 1152 }, "modified": "2018-07-16 10:46:53", "modified_utc": "2018-07-16 15:46:53", "organizer": [ { "author": "3244", "date": "2018-07-16 10:39:50", "date_utc": "2018-07-16 15:39:50", "email": "[email protected]", "global_id": "wp.stolaf.edu/calendar?id=16548", "global_id_lineage": [ "wp.stolaf.edu/calendar?id=16548" ], "id": 16548, "modified": "2018-07-16 10:39:50", "modified_utc": "2018-07-16 15:39:50", "organizer": "Bridge Chamber Music Festival", "phone": "2082935421", "slug": "bridge-chamber-music-festival", "status": "publish", "url": "https://wp.stolaf.edu/calendar/organizer/bridge-chamber-music-festival/", "website": "bridgechambermusicfestival.com" } ], "rest_url": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/events/16556", "show_map": false, "show_map_link": true, "slug": "the-bridge-chamber-players-recital", "start_date": "2018-08-23 19:30:00", "start_date_details": { "day": "23", "hour": "19", "minutes": "30", "month": "08", "seconds": "00", "year": "2018" }, "status": "publish", "sticky": false, "tags": [ { "count": 138, "description": "", "filter": "raw", "id": 46, "name": "Music", "parent": 0, "slug": "music", "taxonomy": "post_tag", "term_group": 0, "term_taxonomy_id": 46, "urls": { "collection": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/tags", "self": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/tags/46" } } ], "timezone": "America/Chicago", "timezone_abbr": "CDT", "title": "The Bridge Chamber Players Recital", "url": "https://wp.stolaf.edu/calendar/event/the-bridge-chamber-players-recital/", "utc_end_date": "2018-08-24 01:30:00", "utc_end_date_details": { "day": "24", "hour": "01", "minutes": "30", "month": "08", "seconds": "00", "year": "2018" }, "utc_start_date": "2018-08-24 00:30:00", "utc_start_date_details": { "day": "24", "hour": "00", "minutes": "30", "month": "08", "seconds": "00", "year": "2018" }, "venue": { "author": "806", "city": "Northfield", "date": "2017-09-18 11:39:43", "date_utc": "2017-09-18 16:39:43", "geo_lat": 44.4582983, "geo_lng": -93.161604, "global_id": "wp.stolaf.edu/calendar?id=240", "global_id_lineage": [ "wp.stolaf.edu/calendar?id=240" ], "id": 240, "modified": "2017-10-18 12:16:44", "modified_utc": "2017-10-18 17:16:44", "province": "MN", "show_map": true, "show_map_link": true, "slug": "christiansen-hall-of-music-100-urness-recital-hall", "stateprovince": "MN", "status": "publish", "url": "https://wp.stolaf.edu/calendar/venue/christiansen-hall-of-music-100-urness-recital-hall/", "venue": "Christiansen Hall of Music, 100 Urness Recital Hall" }, "website": "www.facebook.com/events/246663519470535/" }, { "all_day": false, "author": "3244", "categories": [ { "count": 261, "description": "", "filter": "raw", "id": 19, "name": "Performing and Visual Arts", "parent": 0, "slug": "performing-and-visual-arts", "taxonomy": "tribe_events_cat", "term_group": 0, "term_taxonomy_id": 19, "urls": { "collection": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/categories", "self": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/categories/19" } } ], "cost": "$5", "cost_details": { "currency_position": "prefix", "currency_symbol": "", "values": [ "5" ] }, "date": "2018-07-16 10:43:45", "date_utc": "2018-07-16 15:43:45", "description": "Grand Rapids, MN native Sam Miltich fills the hall with the lush sounds of string-based jazz from the 1930’s – 1950’s with a tribute to the music of Django Reinhardt and his Hot Club of France.
", "end_date": "2018-08-24 20:30:00", "end_date_details": { "day": "24", "hour": "20", "minutes": "30", "month": "08", "seconds": "00", "year": "2018" }, "excerpt": "", "featured": false, "global_id": "wp.stolaf.edu/calendar?id=16559", "global_id_lineage": [ "wp.stolaf.edu/calendar?id=16559" ], "hide_from_listings": false, "id": 16559, "image": { "extension": "jpg", "height": 960, "id": "16561", "sizes": { "blog-card": { "height": 300, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-400x300.jpg", "width": 400 }, "blog-card-large": { "height": 450, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-600x450.jpg", "width": 600 }, "large-image": { "height": 600, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-639x600.jpg", "width": 639 }, "large-rectangle": { "height": 400, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-639x400.jpg", "width": 639 }, "large-square-image": { "height": 800, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-639x800.jpg", "width": 639 }, "medium": { "height": 300, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-200x300.jpg", "width": 200 }, "medium-rectangle": { "height": 245, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-370x245.jpg", "width": 370 }, "menu": { "height": 300, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-600x300.jpg", "width": 600 }, "panel-set-preview": { "height": 751, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-500x751.jpg", "width": 500 }, "panel-set-thumbnail": { "height": 800, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-533x800.jpg", "width": 533 }, "profile-image": { "height": 250, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-200x250.jpg", "width": 200 }, "rectangle": { "height": 415, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-639x415.jpg", "width": 639 }, "secondary-hero": { "height": 350, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-639x350.jpg", "width": 639 }, "small-image": { "height": 300, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-520x300.jpg", "width": 520 }, "small-rectangle": { "height": 170, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-270x170.jpg", "width": 270 }, "small-square": { "height": 272, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-272x272.jpg", "width": 272 }, "social-share": { "height": 630, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-639x630.jpg", "width": 639 }, "square": { "height": 370, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-370x370.jpg", "width": 370 }, "thumbnail": { "height": 150, "mime-type": "image/jpeg", "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam-150x150.jpg", "width": 150 } }, "url": "https://wp.stolaf.edu/calendar/files/2018/07/sam.jpg", "width": 639 }, "modified": "2018-07-16 10:43:45", "modified_utc": "2018-07-16 15:43:45", "organizer": [ { "author": "3244", "date": "2018-07-16 10:39:50", "date_utc": "2018-07-16 15:39:50", "email": "[email protected]", "global_id": "wp.stolaf.edu/calendar?id=16548", "global_id_lineage": [ "wp.stolaf.edu/calendar?id=16548" ], "id": 16548, "modified": "2018-07-16 10:39:50", "modified_utc": "2018-07-16 15:39:50", "organizer": "Bridge Chamber Music Festival", "phone": "2082935421", "slug": "bridge-chamber-music-festival", "status": "publish", "url": "https://wp.stolaf.edu/calendar/organizer/bridge-chamber-music-festival/", "website": "bridgechambermusicfestival.com" } ], "rest_url": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/events/16559", "show_map": false, "show_map_link": true, "slug": "sam-miltich-friends-present-a-tribute-to-django-reinhardt", "start_date": "2018-08-24 19:30:00", "start_date_details": { "day": "24", "hour": "19", "minutes": "30", "month": "08", "seconds": "00", "year": "2018" }, "status": "publish", "sticky": false, "tags": [ { "count": 138, "description": "", "filter": "raw", "id": 46, "name": "Music", "parent": 0, "slug": "music", "taxonomy": "post_tag", "term_group": 0, "term_taxonomy_id": 46, "urls": { "collection": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/tags", "self": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/tags/46" } } ], "timezone": "America/Chicago", "timezone_abbr": "CDT", "title": "Sam Miltich & Friends Present: a Tribute to Django Reinhardt", "url": "https://wp.stolaf.edu/calendar/event/sam-miltich-friends-present-a-tribute-to-django-reinhardt/", "utc_end_date": "2018-08-25 01:30:00", "utc_end_date_details": { "day": "25", "hour": "01", "minutes": "30", "month": "08", "seconds": "00", "year": "2018" }, "utc_start_date": "2018-08-25 00:30:00", "utc_start_date_details": { "day": "25", "hour": "00", "minutes": "30", "month": "08", "seconds": "00", "year": "2018" }, "venue": { "author": "806", "city": "Northfield", "date": "2017-09-18 11:39:43", "date_utc": "2017-09-18 16:39:43", "geo_lat": 44.4582983, "geo_lng": -93.161604, "global_id": "wp.stolaf.edu/calendar?id=240", "global_id_lineage": [ "wp.stolaf.edu/calendar?id=240" ], "id": 240, "modified": "2017-10-18 12:16:44", "modified_utc": "2017-10-18 17:16:44", "province": "MN", "show_map": true, "show_map_link": true, "slug": "christiansen-hall-of-music-100-urness-recital-hall", "stateprovince": "MN", "status": "publish", "url": "https://wp.stolaf.edu/calendar/venue/christiansen-hall-of-music-100-urness-recital-hall/", "venue": "Christiansen Hall of Music, 100 Urness Recital Hall" }, "website": "www.facebook.com/events/239401806881119/" } ], "next_rest_url": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/events/?per_page=10&start_date=2018-08-08+00%3A00%3A00&end_date=2020-08-09+23%3A59%3A59&page=2", "rest_url": "https://wp.stolaf.edu/calendar/wp-json/tribe/events/v1/events/?page=1&per_page=10&start_date=2018-08-08 00:00:00&end_date=2020-08-09 23:59:59", "total": "563", "total_pages": 57 } ```
@hawkrives any update on this?
We have an API for the calendar, too. We just don't have any metadata, because no one enters it. (I hear that may be changing, stay tuned!)
I don't think this needs to land in v2.8.0.