15
ReliefWeb’s Journey from RSS Feed to API 9/26/2 014

ReliefWeb's Journey from RSS Feed to Public API

  • Upload
    phase2

  • View
    165

  • Download
    2

Embed Size (px)

DESCRIPTION

Software Architect Adam Ross presented "ReliefWeb's Journal from RSS Feed to Public API" at the 2014 API Strategy & Practice Conference in Chicago on September 25. He answers the questions: What is ReliefWeb? Why does it have an API? How was it built? What did it take to open it? What's next?

Citation preview

Page 1: ReliefWeb's Journey from RSS Feed to Public API

ReliefWeb’s Journey from RSS Feed to API

9/26/2014

Page 2: ReliefWeb's Journey from RSS Feed to Public API

What is ReliefWeb?

Why does it have an API?

How was it built?

What did it take to open it?

What’s next?

Page 3: ReliefWeb's Journey from RSS Feed to Public API

Software Architect & API DesignerEmail: [email protected]

Adam Ross

Twitter: @grayside_sb

Page 4: ReliefWeb's Journey from RSS Feed to Public API

What is ReliefWeb

• ReliefWeb is a specialized digital service for the

United Nations Office for the Coordination of

Humanitarian Affairs) established in 1996.

• Global staff of 30 content editors aggregating and

curating content on a daily basis for the

Humanitarian sector.

• Over half a million items, growing by tens of

thousands per year, especially in the community-

sourced areas of jobs and training.

Page 5: ReliefWeb's Journey from RSS Feed to Public API

RSS Was Not Enough

• “Here are the last 10 things: build your UI”

• Deep integrations are RSS-driven migrations, you need to build an entire application and be responsible for your own scraped copy.

• This means lots of overhead for innovation

Page 6: ReliefWeb's Journey from RSS Feed to Public API

So they Made an API and...

• Built a mobile version of the site

• Built a trends & analytics site to

examine what’s going on in the world

across decades

• Building a new search system on top

of the API

Page 7: ReliefWeb's Journey from RSS Feed to Public API

Built on Open SourcePHP

nginx

ElasticSearch

Swagger

Composer

Klein

Elastica

Jenkins

... etc

Page 8: ReliefWeb's Journey from RSS Feed to Public API

Especially ElasticSearch

• Provides a wealth of search & analysis

functionality for the API.

• Booming community of tools, especially

monitoring.

• Separately scales from main content storage.

• API app focuses on creating a developer

experience.

Page 9: ReliefWeb's Journey from RSS Feed to Public API

• Public data, public need, public innovation.

• Already have a webapp, what more could we need?

• (A systematically managed platform.)

Opening the API

Page 10: ReliefWeb's Journey from RSS Feed to Public API

API Provider says...Scale

AnalyticsPolicing

API Consumer says...ReliabilityUsability

DocumentationInvested

Page 11: ReliefWeb's Journey from RSS Feed to Public API

Usability & Reliability• Hypermedia

• JSON

• CORS (Browser-friendliness)

• Backwards Compatibility a.k.a.

Forwards Compatibility

• Testing (all the ways)

• Getting here is a new version and

over 80% code change

Page 12: ReliefWeb's Journey from RSS Feed to Public API

More People Sharing ReliefWeb’s Mission

• Want people to be able to easily

execute on ideas

• There’s not time to spend days or

weeks learning the system.

• Meaningful usage helps fulfill

ReliefWeb’s goals and drives

technology investment.

Page 13: ReliefWeb's Journey from RSS Feed to Public API

Roadmap Teaser

• Infrastructure Upgrade to improve Reliability & Scale

• Usage analytics to target improvements and monitor community impact.

• SDK & Web Widgets to facilitate integration

• Geo & Semantic use cases

Page 14: ReliefWeb's Journey from RSS Feed to Public API

reliefweb.intapi.rwlabs.org

Page 15: ReliefWeb's Journey from RSS Feed to Public API

PHASE2TECHNOLOGY.COM