Closed RitwikGupta closed 7 years ago
The JSON response looks like it's in the same format as the data that I retrieved for the DiningAPI.
It is. They use Kurogi to provide these services so the responses are similar.
Ah I see. I started working on this one.
Oh wait but the only data we get from the JSON is the name of the news event/article and a link to it. It it enough to just return an array of dicts of article-name and url pairs?
Yes, that's perfect! Please also write tests as you go along.
Tests... okay...
Just follow the format of one of the tests in tests/
! The Dining tests might be the best for you.
Hmm. I'll try.
Closed! 🎉
I found this URL: https://m.pitt.edu/news/index.json?feed=main_news&id=&_object=kgoui_Rcontent_I0_Rcontent_I0&_object_include_html=1
Gets us all the Pitt news. There are different feeds that go into the
feed
URL path paramater: