integration API of national geographic news in Salesforce -- w3web.net

Rest API Integration for the National Geographic News in Aura Component Salesforce | Integrating Google API with Lightning Component Salesforce | Salesforce Integration with Google News Using Rest API in Salesforce

12 views

Hey guys, today in this post we are going to learn about How to Use Rest API Integrating for the National Geographic New in Aura Component Salesforce.

News API is a simple HTTP REST API for searching and retrieving live articles from all over the web.

You can search for articles with any combination of the following criteria:

  • Authentication:- Authentication is handled with a simple API key.
  • Endpoints:- News API has main endpoints:: a) Top headlines b) Sources

To get started you’ll need an API key. Find the API Key, Click Here.

 

Other related post that would you like to learn in Salesforce

 

Create Remote Site Settings →

integration national geographic api -- w3web.net
 

Final Output →

integration national geographic api -- w3web.net

Create Lightning Component

Step 1:- Create Lightning Component : nationalGeoAPICmp.cmp

From Developer Console >> File >> New >> Lightning Component

nationalGeoAPICmp.cmp [Lightning Component File]

 

Create JavaScript Controller

Step 2:- Create Lightning Component : nationalGeoAPICmpController.js

From Developer Console >> File >> New >> Lightning Component >> JavaScript Controller

nationalGeoAPICmpController.js [JavaScript Controller]

 

Create JavaScript Helper

Step 3:- Create Lightning Component : nationalGeoAPICmpHelper.js

From Developer Console >> File >> New >> Lightning Component >> JavaScript Helper

nationalGeoAPICmpHelper.js [JavaScript Helper File]

 

Create Apex Class Controller

Step 4:- Create Apex Class : googleNewsController.apxc

From Developer Console >> File >> New >> Apex Class

googleNewsController.apxc [Apex Class Controller]

 

Further post that would you like to learn in Salesforce

 

 

FAQ (Frequently Asked Questions)

What is integration in Salesforce example?

Salesforce Integration is the process of bringing two or more systems together, which allows you to streamline separate processes. Think of cases in your own technology stack in which information is kept in one system but also required in another.

What are the 4 most common REST API operations?

For REST APIs built on HTTP, the uniform interface includes using standard HTTP verbs to perform operations on resources. The most common operations are GET, POST, PUT, PATCH, and DELETE.

Where is REST API used in Salesforce?

ou can use REST API tools to create, manipulate, and search data in Salesforce by sending HTTP requests to endpoints in Salesforce. Depending on where you send requests, you access and operate on different pieces of information, called resources. Resources include records, query results, metadata, and more.

Related Topics | You May Also Like

  • Your reaction of the article ▾
 

Hi, This is Vijay Kumar behind the admin and founder of w3web.net. I am a senior software developer and working in MNC company from more than 8 years. I am great fan of technology, configuration, customization & development. Apart of this, I love to write about Blogging in spare time, Working on Mobile & Web application development, Salesforce lightning, Salesforce LWC and Salesforce Integration development in full time. [Read full bio] | | The Sitemap where you can find all published post on w3web.net

Leave a Comment