<?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: VS</title>
    <description>The latest articles on DEV Community by VS (@vs_de_souza).</description>
    <link>https://dev.to/vs_de_souza</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F354066%2F852ac1dd-8099-46ab-af36-cf7e1f24c436.jpg</url>
      <title>DEV Community: VS</title>
      <link>https://dev.to/vs_de_souza</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vs_de_souza"/>
    <language>en</language>
    <item>
      <title>API Security</title>
      <dc:creator>VS</dc:creator>
      <pubDate>Sun, 24 May 2020 18:47:15 +0000</pubDate>
      <link>https://dev.to/vs_de_souza/api-security-5gk1</link>
      <guid>https://dev.to/vs_de_souza/api-security-5gk1</guid>
      <description>&lt;p&gt;APIs, or &lt;a href="https://en.wikipedia.org/wiki/Application_programming_interface"&gt;application program interfaces&lt;/a&gt;, are vital tools for businesses in all industries. The importance of APIs from a technical standpoint, they allow the capabilities of one computer program to be used by another. They are a means by which two different programs are able to communicate.&lt;/p&gt;

&lt;p&gt;Lately though, the term API is most often used to describe a particular kind of web interface. These Web APIs are a set of rules for interacting with a webserver (such as a Salesforce server), with the most common use case being data retrieval.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is API Security?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://blog.api.rakuten.net/api-security/"&gt;API security&lt;/a&gt; can be explained as an overarching term that involves the implementation of processes and strategies intended to mitigate the vulnerabilities and security risks of APIs.&lt;/p&gt;

&lt;p&gt;Generally, most API developers recognize the importance of adhering to API security principles because they do not want to ship a bad API. However, some of them lack sufficient skills in proper API development, are tempted to look for shortcuts to meet aggressive deadlines, or just fail to apply the API security rules. Consequently, such pitfalls may lead to serious risks: vulnerable APIs.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Need for API Security
&lt;/h2&gt;

&lt;p&gt;As cyberattackers continue to take advantage of vulnerable people, processes, and technology, they are also expanding their operations beyond the usual targets. Nothing appears to be outside of their jurisdiction, and no one is 100% safe from their malicious campaigns. Although organizations are making progress in protecting themselves, as soon as one attack vector is thwarted, another quickly becomes exposed.&lt;/p&gt;

&lt;h2&gt;
  
  
  API Security Checklist
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Authentication - Authentication ensures that your users are who they say they are. Hackers that exploit authentication vulnerabilities can impersonate other users and access sensitive data.&lt;/li&gt;
&lt;li&gt;Limit Requests&lt;/li&gt;
&lt;li&gt;Force Encryption&lt;/li&gt;
&lt;li&gt;Enforce HTTP Methods&lt;/li&gt;
&lt;li&gt;Perform Content Negotiation&lt;/li&gt;
&lt;li&gt;Validate User-Submitted Content&lt;/li&gt;
&lt;li&gt;Check for trusted sources&lt;/li&gt;
&lt;li&gt;Protect Sensitive Endpoints&lt;/li&gt;
&lt;li&gt;Avoid Using Auto-Incrementing IDs&lt;/li&gt;
&lt;li&gt;Process Data in the Background&lt;/li&gt;
&lt;li&gt;Turn Debug Mode Off&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>Yahoo Finance API Tutorial</title>
      <dc:creator>VS</dc:creator>
      <pubDate>Sun, 24 May 2020 18:05:08 +0000</pubDate>
      <link>https://dev.to/vs_de_souza/yahoo-finance-api-tutorial-421g</link>
      <guid>https://dev.to/vs_de_souza/yahoo-finance-api-tutorial-421g</guid>
      <description>&lt;p&gt;Yahoo Finance API is a robust API that offers stock quotes, press releases, financial reports, and original content. It also offers online financial management tools. Developers can use Yahoo finance to query financial summaries, stock quotes, movers, and price charts. Even though there is no official Yahoo Finance, an unofficial version of &lt;a href="https://blog.api.rakuten.net/api-tutorial-yahoo-finance/"&gt;yahoo finance api&lt;/a&gt; is available. This API offers the following four endpoints.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;market/get-summary&lt;/li&gt;
&lt;li&gt;market/get-movers&lt;/li&gt;
&lt;li&gt;market/get-quotes&lt;/li&gt;
&lt;li&gt;market/get-charts&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Let's see what these endpoints have to offer.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;get-summary&lt;/strong&gt; endpoint allows you to get the real-time live market summary information in a specific region at that given time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;get-movers&lt;/strong&gt; endpoint retrieves the day’s gainers, losers, and actives within a given region. For each category, the endpoint returns totals, specific quotes, and other information for that region.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;get-quotes&lt;/strong&gt; endpoint returns all relevant information for a specific stock quote or groups of stock quotes specified by symbol. For each quote this endpoint returns.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;language&lt;/li&gt;
&lt;li&gt;region&lt;/li&gt;
&lt;li&gt;quote type&lt;/li&gt;
&lt;li&gt;exchange&lt;/li&gt;
&lt;li&gt;market&lt;/li&gt;
&lt;li&gt;post market information&lt;/li&gt;
&lt;li&gt;regular market information&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;get-charts&lt;/strong&gt; endpoint returns data for visualizing a chart for a specific symbol and its comparisons. The data includes trading periods, timestamps, comparisons, and more to help draw out charts.&lt;/p&gt;

&lt;p&gt;Yahoo Finance API can be used in the following languages.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;NodeJS&lt;/li&gt;
&lt;li&gt;PHP&lt;/li&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;Ruby&lt;/li&gt;
&lt;li&gt;Java&lt;/li&gt;
&lt;li&gt;Objective-C&lt;/li&gt;
&lt;li&gt;.NET&lt;/li&gt;
&lt;li&gt;cURL&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>Top Forex API to Use in 2020</title>
      <dc:creator>VS</dc:creator>
      <pubDate>Sat, 23 May 2020 17:47:05 +0000</pubDate>
      <link>https://dev.to/vs_de_souza/top-forex-api-to-use-in-2020-43dh</link>
      <guid>https://dev.to/vs_de_souza/top-forex-api-to-use-in-2020-43dh</guid>
      <description>&lt;p&gt;Currency trading is a global market where currencies are bought and sold. To facilitate trading, many brokerage companies provide an online infrastructure that makes it easy for traders to access the global currency market. In recent years these companies have also provided APIs (Application Programmable interface) to help third-party application integrate with there platform. In this article, we will look at five &lt;a href="https://blog.api.rakuten.net/top-10-best-forex-apis-yahoo-finance-tradingview-oanda-and-more/"&gt;forex apis&lt;/a&gt; you can use with confidence in 2020.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://blog.api.rakuten.net/api-tutorial-yahoo-finance/"&gt;Yahoo Finance API&lt;/a&gt; - Yahoo Finance API allows developers to access and integrate financial data from the stock market and other financial establishments into third-party applications.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://in.tradingview.com/rest-api-spec/"&gt;Tradingview API&lt;/a&gt; - Tradingview allows brokers and developers to connect their backend systems to TradingView, this will allow third-party applications to use the charts and other trading tools within their application&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://developer.oanda.com/"&gt;Oanda API&lt;/a&gt; - Oanda API allows developers to Connect directly with OANDA to develop trading strategies and automate their trading experience.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://api.stocktwits.com/developers/docs"&gt;Stocktwits API&lt;/a&gt; - With this API developer can access the StockTwits social graph, display curated data streams, integrate watch lists, and easily share messages, links and charts directly from your application.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://fixer.io/"&gt;Fixer API&lt;/a&gt; - Fixer API allows developers to connect directly to Fixers powerful back-end infrastructure. Using this API these developers can connect easily integrate their application getting access to essential financial data like exchange rates for 170 world currencies, returning Time-Series data and fluctuation data.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>5 Weather APIs for 2020</title>
      <dc:creator>VS</dc:creator>
      <pubDate>Fri, 22 May 2020 13:25:54 +0000</pubDate>
      <link>https://dev.to/vs_de_souza/5-weather-apis-for-2020-3131</link>
      <guid>https://dev.to/vs_de_souza/5-weather-apis-for-2020-3131</guid>
      <description>&lt;p&gt;A weather API is an essential business tool. Accurate and actionable weather forecast is business critical in industries like hospitality, transportation, shipping, insurance, public-safety, agriculture, to name a few.&lt;/p&gt;

&lt;p&gt;Let me drive home that point with an example. As per a McKinsey report a storm causes, on an average $1.4B damage to a utility company over a period of 20 years. Actionable weather forecasts can help businesses better prepare for adverse weather events.&lt;/p&gt;

&lt;p&gt;With Dark Sky API shutting down developers are looking for alternatives. So without further ado let me present the top 5 &lt;a href="https://blog.api.rakuten.net/top-weather-apis/"&gt;weather apis&lt;/a&gt; for 2020.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://openweathermap.org/api"&gt;Open Weather Map API&lt;/a&gt; - The OpenWeatherMap API was established in 2014 by a group of engineers and experts in big data, data processing, and satellite imagery processing. The API returns current weather, historical weather data, and forecast details. It collects data from more than 40,000 locations around the world, allowing you to get accurate weather information about any place you want.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="http://api.weather2020.com/"&gt;Weather 2020 API&lt;/a&gt; - This API was developed by Gary Lezak, a famed meteorologist. To enhance its accuracy, the API uses the powerful long range weather model technology known as the LRC.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.weatherbit.io/"&gt;WeatherBit API&lt;/a&gt; - This API gives you access to lightning-fast data to meet all your needs for up-to-date weather information. With the API, you can get accurate historical, current, and forecast weather data about any location around the world.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://developer.accuweather.com/"&gt;AccuWeather API&lt;/a&gt; - The AccuWeather API provides accurate weather data about any location on Earth. With the API, you can get minute-by-minute forecasts with engaging video presentations that can be deployed to a wide range of platforms.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.weatherapi.com/"&gt;Weather API&lt;/a&gt; - The Weather API gives you access to lightning-fast data to meet all your needs for up-to-date weather information. With the API, you can get accurate historical, current, and forecast weather data about any location around the world.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>api</category>
      <category>weatherapi</category>
    </item>
    <item>
      <title>IMDb API</title>
      <dc:creator>VS</dc:creator>
      <pubDate>Sun, 22 Mar 2020 19:29:22 +0000</pubDate>
      <link>https://dev.to/vs_de_souza/imdb-api-1pdc</link>
      <guid>https://dev.to/vs_de_souza/imdb-api-1pdc</guid>
      <description>&lt;p&gt;The IMDB, or the Internet Movie Database is an online repository of movies, films, television &amp;amp; web series and more. You can visit the website and browse through its exhaustive source of information about the cast, the crew, plot summaries and trivia. Thankfully, all of this is also available as an API.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://blog.api.rakuten.net/imdb-api-tutorial/"&gt;IMDb API&lt;/a&gt; makes it easy to search and find information about movies and TV shows. It has an extensive set of API endpoints to query each aspect of a movie. In this tutorial, you will learn about the information that you can retrieve from the IMDb API. IMDb API is integrated with Rakuten RapidAPI so you can login to your account and access it using your universal subscription key.&lt;/p&gt;

&lt;h2&gt;
  
  
  Overview of IMDb API
&lt;/h2&gt;

&lt;p&gt;What’s the first thing that comes to your mind when you hear about an upcoming movie? The cast comprising of the actors and the actresses. The crew, consisting of the director, the writer, and maybe the cinematographer. You would also want to know the release date and get a summary about the plot. You can query all this and more with the IMDb API.&lt;/p&gt;

&lt;p&gt;The IMDb API is organized into several specific endpoints that provide all the above information and more. To get a closer look, jump to the IMDb API console.&lt;/p&gt;

&lt;p&gt;Check out the list of endpoints on the left side of the API console, and you can see how neatly it is organized in a way to query different aspects of a movie.&lt;/p&gt;

&lt;p&gt;This is a good example of a well defined information architecture about a subject, which in this case, is a movie, a television show or a streaming entertainment video.&lt;/p&gt;

&lt;p&gt;Since the endpoint list is extensive, a complete description of all the endpoints is a beyond the scope of this tutorial. However, we will cover the main endpoints which are in line with your curiosity questions when you hear about a new movie release.&lt;/p&gt;

&lt;p&gt;Before you begin, take a look at the Pricing tab in the API console. The IMDB API has a freemium pricing model with a BASIC subscription tier that gives you 500 API calls free, per month. Make sure you opt for the BASIC subscription before you proceed with this tutorial further.&lt;/p&gt;

&lt;h2&gt;
  
  
  Working With IMDb API
&lt;/h2&gt;

&lt;p&gt;Let’s take a look at some of the prominent endpoints of IMDb API which provide key information about a movie.&lt;/p&gt;

&lt;p&gt;Be sure to subscribe to the API and keep the API console page open to test the endpoints that we are going to explain now.&lt;/p&gt;

&lt;h2&gt;
  
  
  Searching for a Movie Name
&lt;/h2&gt;

&lt;p&gt;The “GET title/find” endpoint is used to search for a movie by its name. This endpoint accepts a string as the name of a movie or TV show to search for. It returns a list of all movies and shows which match the string, even if it is a partial match.&lt;/p&gt;

&lt;p&gt;Select the “GET title/find” endpoint and try searching for “titanic”.&lt;/p&gt;

&lt;p&gt;Under the “results” key you can see a list of all the matching movies. The first one is the popular movie featuring  Leonardo DiCaprio &amp;amp; Kate Winslet. You can see their name inside the “principals” key.&lt;/p&gt;

&lt;p&gt;Another important thing to remember about the search results is the id of each movie.&lt;/p&gt;

&lt;p&gt;In the case of Titanic, the id is “/title/tt0120338/”. The string prefixed with “tt” followed by a number sequence is the unique identifier for this movie. The IMDb API uses this id to search for other information related to this movie.&lt;/p&gt;

&lt;p&gt;So if you want to perform further queries on any movie, then you must take a note of the id. Now that we know the id of Titanic, let’s find out some more information about this movie.&lt;/p&gt;

&lt;h2&gt;
  
  
  Searching for a Movie Cast
&lt;/h2&gt;

&lt;p&gt;After you know the movie name, the next logical thing is to know the cast. Although the “GET title/find” endpoint gives you the names of the leading actors, it does not provide the full list of cast.&lt;/p&gt;

&lt;p&gt;To get the list of complete cast, you can use the “GET title/get-top-cast”. This endpoint takes the movie id as a parameter returns the cast list. So if you choose “GET title/get-top-cast” endpoint on the API console and feed in the id of the movie “Titanic”, this is what the request looks like.&lt;/p&gt;

&lt;p&gt;What you see in the API response is a list of ids of cast. Similar to the movie id, each person also has an id starting with nm followed by a number.&lt;/p&gt;

&lt;p&gt;In order to get the name and other details of the cast, you need to call another endpoint, “GET title/get-charname-list”. This endpoint takes in the movie id and cast id as parameter. Select this endpoint and enter the movie id of “Titanic” and the name id of the first item you got from the API response of “GET title/get-top-cast”.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrapping Up
&lt;/h2&gt;

&lt;p&gt;We have just covered the tip of the iceberg in this tutorial. Go ahead and try the IMDb API and search for your favorite movies. You can even retrieve information about awards, reviews, shooting locations and images and more. This is a complete treasure trove of data. You can build movie quizzes and perform data analytics to unearth useful information.&lt;/p&gt;

&lt;p&gt;Also if you are looking to build apps around movies and entertainment then check out our other APIs related to movies.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
