Select two Web APIs that you would like to work with. You may choose from the AP
ID: 3838387 • Letter: S
Question
Select two Web APIs that you would like to work with. You may choose from the APIs that we discuss in class or others that you research independently. One of these APIs should access data in JSON or XML format, the other is unconstrained. The APIs do not need to work together; they can be applied independently or in concert with each other.
Create a new website or revise an existing one to incorporate these Web APIs into. The way you use the APIs should be thoughtfully integrated with the design and content of the site. With that in mind, use API data to update HTML content and CSS style in some way.
Here is a list of requirements for this assignment.
1.A new or revised website that thoughtfully integrates two Web APIs
2.One Web API that accesses data in JSON or XML format
3.Another Web API (other than the Document Object Model or jQuery)
4.Data from the APIs should be used to update HTML content and CSS style in some way
5.use PHP’s cURL library to send HTTP requests and integrate with web APIs.
Explanation / Answer
SOAP API provides a powerful, convenient, and simple SOAP-based web services interface for interacting with Salesforce. You can use SOAP API to create, retrieve, update, or delete records. You can also use SOAP API to perform searches and much more. Use SOAP API in any language that supports web services.
For example, you can use SOAP API to integrate Salesforce with your org’s ERP and finance systems. You can also deliver real-time sales and support information to company portals and populate critical business systems with customer information.Use Chatter REST API to display Salesforce data, especially in mobile applications. In addition to Chatter feeds, users, groups, and followers, Chatter REST API provides programmatic access to files, recommendations, topics, notifications, Data.com purchasing, and more. Chatter REST API is similar to APIs offered by other companies with feeds, such as Facebook and Twitter, but it also exposes Salesforce features beyond Chatter.
Bulk API is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAll, insert, update, upsert, or delete many records asynchronously by submitting batches. Salesforce processes batches in the background.
SOAP API, in contrast, is optimized for real-time client applications that update a few records at a time. You can use SOAP API for processing many records, but when the data sets contain hundreds of thousands of records, SOAP API is less practical. Bulk API is designed to make it simple to process data from a few thousand to millions of records.
The easiest way to use Bulk API is to enable it for processing records in Data Loader using CSV files. Using Data Loader avoids the need to write your own client application.Use Metadata API to retrieve, deploy, create, update, or delete customizations for your org. The most common use is to migrate changes from a sandbox or testing org to your production environment. Metadata API is intended for managing customizations and for building tools that can manage the metadata model, not the data itself. The easiest way to access the functionality in Metadata API is to use the Force.com IDE or Force.com Migration Tool. Both tools are built on top of MetadataStreaming API is useful when you want notifications to be pushed from the server to the client. Consider Streaming API for applications that poll frequently. Applications that have constant polling against the Salesforce infrastructure consume unnecessary API call and processing time. Streaming API reduces the number of requests that return no data, and is also ideal for applications that require general notification of data changes.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.