<?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: Taj Avcb</title>
    <description>The latest articles on DEV Community by Taj Avcb (@taj_avcb_e3ebe9a3b19fef3e).</description>
    <link>https://dev.to/taj_avcb_e3ebe9a3b19fef3e</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%2F4113183%2F19c2e74b-686d-4e11-b833-5e8d060151bd.png</url>
      <title>DEV Community: Taj Avcb</title>
      <link>https://dev.to/taj_avcb_e3ebe9a3b19fef3e</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/taj_avcb_e3ebe9a3b19fef3e"/>
    <language>en</language>
    <item>
      <title>My Experience with HikerAPI</title>
      <dc:creator>Taj Avcb</dc:creator>
      <pubDate>Mon, 07 Sep 2026 05:47:47 +0000</pubDate>
      <link>https://dev.to/taj_avcb_e3ebe9a3b19fef3e/my-experience-with-hikerapi-1i3m</link>
      <guid>https://dev.to/taj_avcb_e3ebe9a3b19fef3e/my-experience-with-hikerapi-1i3m</guid>
      <description>&lt;h1&gt;
  
  
  Get an Instagram Profile in 10 Lines of Python
&lt;/h1&gt;

&lt;p&gt;I recently experimented with HikerAPI while working with a Python project and wanted to see how simple it would be to retrieve Instagram profile data through a REST API.&lt;/p&gt;

&lt;p&gt;Instead of building a scraper from scratch, I decided to test a direct API request using Python's &lt;code&gt;requests&lt;/code&gt; library.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'm Building
&lt;/h2&gt;

&lt;p&gt;The goal is simple: send an Instagram username to the API and print the JSON response.&lt;/p&gt;

&lt;p&gt;You only need Python and the &lt;code&gt;requests&lt;/code&gt; package for this example.&lt;/p&gt;

&lt;h2&gt;
  
  
  Install Requests
&lt;/h2&gt;

&lt;p&gt;First, install &lt;code&gt;requests&lt;/code&gt; if it isn't already available:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;requests
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then create a Python file and add:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;

&lt;span class="n"&gt;headers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;x-access-key&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;YOUR_KEY&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="n"&gt;resp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;https://api.hikerapi.com/v2/user/by/username?username=apple&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;headers&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace &lt;code&gt;YOUR_KEY&lt;/code&gt; with your own HikerAPI access key.&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;headers&lt;/code&gt; dictionary contains the access key used for the API request.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;requests.get()&lt;/code&gt; sends a GET request to the HikerAPI endpoint, with &lt;code&gt;apple&lt;/code&gt; as the username.&lt;/p&gt;

&lt;p&gt;Finally, &lt;code&gt;resp.json()&lt;/code&gt; converts the JSON response into Python data that I can inspect or process further.&lt;/p&gt;

&lt;p&gt;For a small experiment, this is much simpler than maintaining a custom scraper because the API gives me a structured HTTP interface instead of requiring me to handle scraping logic myself.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Learned
&lt;/h2&gt;

&lt;p&gt;My main takeaway was that getting started with an API can be surprisingly simple. I didn't need a large Python framework or complicated setup for this basic test—just an API key and a few lines of Python.&lt;/p&gt;

&lt;p&gt;From here, I could add error handling, process specific fields from the response, or integrate the request into a larger project.&lt;/p&gt;

&lt;p&gt;If you're learning Python and APIs, this is a nice small project to experiment with because you can see the complete flow: authentication, HTTP request, and JSON response.&lt;/p&gt;

&lt;p&gt;You can learn more about HikerAPI at &lt;a href="https://hikerapi.com/" rel="noopener noreferrer"&gt;https://hikerapi.com/&lt;/a&gt;.&lt;/p&gt;

&lt;h1&gt;
  
  
  python #api #webscraping
&lt;/h1&gt;

</description>
      <category>python</category>
      <category>api</category>
      <category>webscraping</category>
    </item>
    <item>
      <title>My Experience with HikerAPI</title>
      <dc:creator>Taj Avcb</dc:creator>
      <pubDate>Mon, 07 Sep 2026 05:41:14 +0000</pubDate>
      <link>https://dev.to/taj_avcb_e3ebe9a3b19fef3e/my-experience-with-hikerapi-2e5e</link>
      <guid>https://dev.to/taj_avcb_e3ebe9a3b19fef3e/my-experience-with-hikerapi-2e5e</guid>
      <description>&lt;p&gt;I recently tried HikerAPI with a Python project and found the setup quite straightforward. The documentation was helpful, and the API was easy to connect to my project.&lt;/p&gt;

&lt;p&gt;I also tested it with Osintgram and the integration worked once I had API credits available. Overall, I think HikerAPI is an interesting option if you're working on projects that need Instagram data through an API.&lt;/p&gt;

&lt;p&gt;This is just my personal experience so far, and I'm still testing it.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>tutorial</category>
      <category>python</category>
    </item>
  </channel>
</rss>
