connecting any web services
TRANSCRIPT
Connecting AnyWeb Services
Agenda
• Web Services Overview• Solving API challenges
• Authentication• Reading/writing data• Working with
JSON/XML• Demo: Connecting to
an API with OAuth2
Why Web Services?• Storing data• Retrieving data• Analyzing and processing data• Sharing data across systems
?A web service is a
system for machine-to-
machine communication.
An API is a programmatic interface to tools and services. This lets software communicate and share data.
APIs
• They’re everywhere.
• They’re in demand.• They’re easy to
create and consume.
• They allow you to be agile.
API Challenges• Different
implementations• Constant evolution• Error handling• and ...
AUTHENTICATION.• Many standards exist: OAuth, Basic,
Token ...• Standards provide loose guidelines with
many different interpretations.
Win #1: Web Connections in FME 2016.1
✓ OAuth
✓ Token
✓ Basic
Connect once, then reuse across FME.
Win #1: Web Connections in FME 2016.1
It syncs with FME Server.
Win #2: FME Readers and Transformers
Can connect to any API.
Built-in
support
for many
web service
s.
New in FME 2016.1 TransformersDropboxConnectorKinesesReceiverKinesisSenderMapboxStylerSlackConnector
Readers/WritersPortal for ArcGISIBM CloudantMicrosoft Azure DocumentDBMongoDBSAP HANATableau (Writer only)
Named ConnectionsBoxDropboxGoogleMicrosoft OneDriveSalesforce
Win #3: FME Hub30+ community-contributed web transformers and web connections.
TransformersArcGISOnlineGeoenricherGoogleGeocoderStaticMapFetcherTwilioCallerTwitterProfileFetcherWhats3WordsDecoderWhats3WordsEncoder
Named ConnectionsAsanaBitlyDigital OceanInstagramMailChimpNetatmoSlack
hub.safe.com
Win #4: JSON and XML are easy in FME
Demo: Read from the Instagram API
• Many web services are supported by FME readers, writers, and transformers.
• Web connections hide authentication complexities.
• Find more web connections in the FME Hub.• Connect to almost any API with the
HTTPCaller.
Resources• hub.safe.com
• Community-added web connections.
• safe.com/webinar• Type ‘web services’ to view
recorded webinars on the topic.• knowledge.safe.com
• Articles, tutorials, and more.
Thank you!Questions?