<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Francis</title>
    <description>The latest articles on DEV Community by Francis (@francis561).</description>
    <link>https://dev.to/francis561</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F709971%2F3463c50a-2fe1-43d2-86cc-598a0fbd9262.jpeg</url>
      <title>DEV Community: Francis</title>
      <link>https://dev.to/francis561</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/francis561"/>
    <language>en</language>
    <item>
      <title>Getting Started With the Kelvin Data API</title>
      <dc:creator>Francis</dc:creator>
      <pubDate>Wed, 22 Sep 2021 07:56:27 +0000</pubDate>
      <link>https://dev.to/francis561/getting-started-with-the-kelvin-data-api-4eo5</link>
      <guid>https://dev.to/francis561/getting-started-with-the-kelvin-data-api-4eo5</guid>
      <description>&lt;p&gt;👉 Learn How to navigate over 1.8 billion people records by email, phone number, name, social media, and more in a single line of code  with the Kelvin Data API&lt;/p&gt;

&lt;p&gt;If you are new to the Kelvin Data API, then you've come to the right place!&lt;/p&gt;

&lt;p&gt;Intro to Developer Resources&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://kelvin-data.readme.io/reference/intro" rel="noopener noreferrer"&gt;API documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://kelvin-data.readme.io/reference/searchv2_query" rel="noopener noreferrer"&gt;Installation Guide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://api.kelvindata.com/graphql?query=query%20exampleQuery%20%7B%0A%20%20searchV2%28phone%3A%20%227043628945%22%29%20%7B%0A%20%20%20%20emailAddresses%0A%20%20%20%20name%20%7B%0A%20%20%20%20%20%20first%0A%20%20%20%20%20%20last%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D" rel="noopener noreferrer"&gt;Javascript Client Playground&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://kelvin-data.readme.io/reference/authentication" rel="noopener noreferrer"&gt;Authentication Keys&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt;This reference will get you started with working with the Kelvin Data API&lt;/p&gt;

&lt;p&gt;If this is your first look at the Kelvin Data API, visit our &lt;a href="https://www.kelvindata.com/" rel="noopener noreferrer"&gt;HomePage&lt;/a&gt; for a quick Overview.&lt;/p&gt;

&lt;h3&gt;
  
  
  Conventions and Architecture
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;The base URL  for sending API Requests is &lt;a href="https://www.kelvindata.com" rel="noopener noreferrer"&gt;https://www.kelvindata.com&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The Kelvin Data follows both &lt;b&gt;RESTful&lt;/b&gt; and &lt;b&gt;GraphQl&lt;/b&gt; Conventions and &lt;b&gt;HTTPS&lt;/b&gt; is required for all API Requests.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;API calls are performed with the &lt;b&gt;GET&lt;/b&gt; request as we are extracting information from both page and database resources.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Request and Response bodies are encoded in &lt;b&gt;JSON&lt;/b&gt; format&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Code Samples &amp;amp; SDKs
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Sample requests and responses are shown for each endpoint as illustrated below:
&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fwww.kelvindata.com%2F_next%2Fimage%3Furl%3Dhttps%253A%252F%252Fcdn.kacdn.org%252Ffile%252Fkacdn1%252Fkelvindata%252Fhero.png%26w%3D3840%26q%3D75" alt="Response"&gt;
&lt;/li&gt;
&lt;li&gt;Requests are shown using the Kelvin data &lt;a href="https://curl.se/" rel="noopener noreferrer"&gt;cURL&lt;/a&gt; as shown below:These make it easy to copy,paste,modify as you work  with the API.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;  &lt;span class="nx"&gt;curl&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="nx"&gt;request&lt;/span&gt; &lt;span class="nx"&gt;GET&lt;/span&gt; &lt;span class="o"&gt;\&lt;/span&gt;
     &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="nx"&gt;url&lt;/span&gt; &lt;span class="nx"&gt;https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//api.kelvindata.com/rest/v1/search-v2 \&lt;/span&gt;
     &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="nx"&gt;header&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Accept: application/json&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;You may also choose any language or library of your preference that allows you to make &lt;b&gt;HTTP&lt;/b&gt; requests.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Authentication
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;All API requests/calls with the Kelvin data API  require an API Key for Authentication.&lt;/li&gt;
&lt;li&gt;You can create and manage your API Keys on your &lt;a href="https://www.kelvindata.com/dashboard" rel="noopener noreferrer"&gt;developer page&lt;/a&gt; on the Kelvin data dashboard.&lt;/li&gt;
&lt;li&gt;Authentication is in both the &lt;b&gt;REST&lt;/b&gt; &amp;amp; &lt;b&gt;GraphQl&lt;/b&gt; architectural patterns  though slightly different. take a look below!&lt;/li&gt;
&lt;/ul&gt;

&lt;h6&gt;
  
  
  REST API Authentication:
&lt;/h6&gt;

&lt;ul&gt;
&lt;li&gt;Include a URL query parameter apiKey as shown:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;https&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//api.kelvindata.com/rest/v1/search-v2?phone=4158675309&amp;amp;apiKey=your-apikey-here&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h6&gt;
  
  
  GRAPHQL Authentication:
&lt;/h6&gt;

&lt;ul&gt;
&lt;li&gt;Set the &lt;b&gt;Authorization header&lt;/b&gt;  to Bearer your-apikey-here as illustrated below:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Authorization&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;Bearer your-apikey-here&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nx"&gt;curl&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://api.kelvindata.com/graphql&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="o"&gt;\&lt;/span&gt;
&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;H&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Content-Type: application/json&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="o"&gt;\&lt;/span&gt;
&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;H&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Authorization: Bearer your-apikey-here&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="o"&gt;\&lt;/span&gt;
&lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;binary&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;
{"query":"query exampleQuery { searchV2(phone: &lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;&lt;span class="s1"&gt;"7043628945&lt;/span&gt;&lt;span class="se"&gt;\&lt;/span&gt;&lt;span class="s1"&gt;") { emailAddresses name { first last } } }"}
&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Learn more about it in our &lt;a href="https://kelvin-data.readme.io/reference/authentication" rel="noopener noreferrer"&gt;Authentication guide&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Conclusion
&lt;/h3&gt;

&lt;p&gt;I am just getting your feet wet in this blog post. Check out our &lt;a href="https://kelvin-data.readme.io/reference/intro" rel="noopener noreferrer"&gt;Kelvin data docs&lt;/a&gt; for more capabilities&lt;/p&gt;

&lt;h3&gt;
  
  
  Get in Touch
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Want to get in Touch? We'd love to hear from you! Send us a message or inquiry &lt;a href="mailto:Hello@KelvinData.com"&gt;Hello@KelvinData.com&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>webdev</category>
      <category>graphql</category>
      <category>javascript</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
