<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3595385100029760036</id><updated>2024-12-19T09:03:08.365+05:30</updated><category term="API"/><category term="c#"/><category term="HTTP"/><category term="YouTube"/><title type='text'>API Tutorial</title><subtitle type='html'>&#xa;Youtube Api,Facebook api,tweeter Api,download video,get subscriber list,channel details,thumbling</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://apitutorialcode.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3595385100029760036/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://apitutorialcode.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Avinash Shrivastava</name><uri>http://www.blogger.com/profile/02508139244292073311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3595385100029760036.post-8674723240430995694</id><published>2020-03-20T15:26:00.000+05:30</published><updated>2020-03-20T15:26:12.719+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="API"/><category scheme="http://www.blogger.com/atom/ns#" term="HTTP"/><title type='text'>What is HTTP?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;style type=&quot;text/css&quot;&gt;
        .auto-style1 {
            width: 68%;
        }
        .auto-style3 {
            width: 281px;
        }
        .auto-style4 {
            width: 272px;
        }
        .auto-style5 {
            height: 28.5pt;
            width: 666pt;
            color: white;
            font-size: 14.0pt;
            font-weight: 700;
            font-style: normal;
            text-decoration: none;
            font-family: Calibri, sans-serif;
            text-align: center;
            vertical-align: middle;
            white-space: nowrap;
            border-style: none;
            border-color: inherit;
            border-width: medium;
            padding-left: 1px;
            padding-right: 1px;
            padding-top: 1px;
            background: #0070C0;
        }
    
        .auto-style9 {
            width: 281px;
            height: 24px;
        }
        .auto-style10 {
            height: 15.0pt;
            width: 266pt;
            color: #414141;
            font-size: 11.0pt;
            font-weight: 400;
            font-style: normal;
            text-decoration: none;
            font-family: Verdana, sans-serif;
            text-align: general;
            vertical-align: bottom;
            white-space: nowrap;
            border-style: none;
            border-color: inherit;
            border-width: medium;
            padding-left: 1px;
            padding-right: 1px;
            padding-top: 1px;
        }
   
        .auto-style11 {
            height: 38px;
            color: #FFFFFF;
            text-align: center;
            background-color: #333333;
        }
   
    &lt;/style&gt;

&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
What is HTTP?&lt;/h2&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;The Hypertext Transfer Protocol (HTTP) its use for the making&amp;nbsp; the communication between&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;user and server its work request response over client and browser&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-weight: 400;&quot;&gt;Some method of https by which server communicate&amp;nbsp;&amp;nbsp;with client or vise versa&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxaCVD6ku_E8CLWplDiV2M6_TE2mvkjkwjyobZneco6nA-rRP0K5-HAS3750XYtSgm3MunsGM_2W2Bn9K_Kr5c2WaHLpvpX5MqyOOGiqqdfnLEeDBsULfhdhNky8kMK5RUoZ6rkUq2gRw/s1600/method.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;https://apitutorialcode.blogspot.com/&quot; border=&quot;0&quot; data-original-height=&quot;470&quot; data-original-width=&quot;710&quot; height=&quot;263&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxaCVD6ku_E8CLWplDiV2M6_TE2mvkjkwjyobZneco6nA-rRP0K5-HAS3750XYtSgm3MunsGM_2W2Bn9K_Kr5c2WaHLpvpX5MqyOOGiqqdfnLEeDBsULfhdhNky8kMK5RUoZ6rkUq2gRw/s400/method.png&quot; title=&quot;What is HTTP?&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-weight: 400;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/h3&gt;
&lt;table class=&quot;auto-style1&quot;&gt;
                &lt;tbody&gt;
&lt;tr&gt;
                    &lt;td colspan=&quot;3&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 887px;&quot;&gt;
                            &lt;colgroup&gt;
                                &lt;col style=&quot;mso-width-alt: 4571; mso-width-source: userset; width: 94pt;&quot; width=&quot;125&quot;&gt;&lt;/col&gt;
                                &lt;col style=&quot;mso-width-alt: 12946; mso-width-source: userset; width: 266pt;&quot; width=&quot;354&quot;&gt;&lt;/col&gt;
                                &lt;col style=&quot;mso-width-alt: 6473; mso-width-source: userset; width: 133pt;&quot; width=&quot;177&quot;&gt;&lt;/col&gt;
                                &lt;col style=&quot;mso-width-alt: 8338; mso-width-source: userset; width: 171pt;&quot; width=&quot;228&quot;&gt;&lt;/col&gt;
                                &lt;col style=&quot;mso-width-alt: 109; mso-width-source: userset; width: 2pt;&quot; width=&quot;3&quot;&gt;&lt;/col&gt;
                            &lt;/colgroup&gt;
                            &lt;tbody&gt;
&lt;tr height=&quot;38&quot; style=&quot;height: 28.5pt; mso-height-source: userset;&quot;&gt;
                                &lt;td class=&quot;auto-style5&quot; colspan=&quot;5&quot; height=&quot;38&quot; width=&quot;887&quot;&gt;The following table lists possible action method names for each HTTP method:&lt;/td&gt;
                            &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style11&quot;&gt;&lt;strong&gt;HTTP Method&lt;/strong&gt;&lt;/td&gt;
                    &lt;td class=&quot;auto-style11&quot;&gt;&lt;strong&gt;Possible Web API Action Method Name&lt;/strong&gt;&lt;/td&gt;
                    &lt;td class=&quot;auto-style11&quot;&gt;&lt;strong&gt;Usage&lt;/strong&gt;&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td rowspan=&quot;5&quot;&gt;GET&lt;/td&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;Get()&lt;/td&gt;
                    &lt;td class=&quot;auto-style4&quot; rowspan=&quot;5&quot;&gt;For Fetching the details from server or Url/Retrieves data. &lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;get()&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;GET()&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;Ex GetDetails()&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style9&quot;&gt;Any Name Starting with GET&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td rowspan=&quot;5&quot;&gt;POST&lt;/td&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;Post()&lt;/td&gt;
                    &lt;td class=&quot;auto-style4&quot; rowspan=&quot;5&quot;&gt;Post the Data on server its use to insertdata into data base&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;post()&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;POST()&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;PostNewData()&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;//Post the Data on server&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td rowspan=&quot;5&quot;&gt;PUT&lt;/td&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;Put()&lt;/td&gt;
                    &lt;td class=&quot;auto-style4&quot; rowspan=&quot;5&quot;&gt;Updates existing record. Over any Id or else&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;put()&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;PUT()&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;PUTDetails()&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 354px;&quot;&gt;
                            &lt;colgroup&gt;
                                &lt;col style=&quot;mso-width-alt: 12946; mso-width-source: userset; width: 266pt;&quot; width=&quot;354&quot;&gt;&lt;/col&gt;
                            &lt;/colgroup&gt;
                            &lt;tbody&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15.0pt;&quot;&gt;
                                &lt;td class=&quot;auto-style10&quot; height=&quot;20&quot; width=&quot;354&quot;&gt;//any name starting with Put&lt;/td&gt;
                            &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td rowspan=&quot;5&quot;&gt;PATCH&lt;/td&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;Patch()&lt;/td&gt;
                    &lt;td class=&quot;auto-style4&quot; rowspan=&quot;5&quot;&gt;Update record partialy&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;patch()&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;PATCH()&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;PatchDetails()&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2;&quot;&gt;
                        &lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 354px;&quot;&gt;
                            &lt;colgroup&gt;
                                &lt;col style=&quot;mso-width-alt: 12946; mso-width-source: userset; width: 266pt;&quot; width=&quot;354&quot;&gt;&lt;/col&gt;
                            &lt;/colgroup&gt;
                            &lt;tbody&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15.0pt;&quot;&gt;
                                &lt;td class=&quot;auto-style10&quot; height=&quot;20&quot; width=&quot;354&quot;&gt;//any name starting with Patch&lt;/td&gt;
                            &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/span&gt;&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td rowspan=&quot;5&quot;&gt;DELETE&lt;/td&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2;&quot;&gt;
                        &lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 354px;&quot;&gt;
                            &lt;colgroup&gt;
                                &lt;col style=&quot;mso-width-alt: 12946; mso-width-source: userset; width: 266pt;&quot; width=&quot;354&quot;&gt;&lt;/col&gt;
                            &lt;/colgroup&gt;
                            &lt;tbody&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15.0pt;&quot;&gt;
                                &lt;td class=&quot;auto-style10&quot; height=&quot;20&quot; width=&quot;354&quot;&gt;Delete()&lt;/td&gt;
                            &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/span&gt;&lt;/td&gt;
                    &lt;td class=&quot;auto-style4&quot; rowspan=&quot;5&quot;&gt;Deletes record.&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; font-variant-caps: normal; font-variant-ligatures: normal; orphans: 2; text-decoration-color: initial; text-decoration-style: initial; widows: 2;&quot;&gt;
                        &lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 354px;&quot;&gt;
                            &lt;colgroup&gt;
                                &lt;col style=&quot;mso-width-alt: 12946; mso-width-source: userset; width: 266pt;&quot; width=&quot;354&quot;&gt;&lt;/col&gt;
                            &lt;/colgroup&gt;
                            &lt;tbody&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15.0pt;&quot;&gt;
                                &lt;td class=&quot;auto-style10&quot; height=&quot;20&quot; width=&quot;354&quot;&gt;delete()&lt;/td&gt;
                            &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/span&gt;&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;DELETE()&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;DeleteStudent()&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td class=&quot;auto-style3&quot;&gt;//any name starting with Delete&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;
                &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYiiPQoU4SxAi-mzJCncCwfhbKaP31tAKDyceaVmyMViSYUARL1qC7KrQwYPdFPzHPNnQsgMYYGH5ez96tKgYa4jB1rnMDaIaQcX0gDUDOoGObdP8G4cr1Ga2qmFaFBWj3po6qroxXcPc/s1600/Api2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;482&quot; data-original-width=&quot;846&quot; height=&quot;364&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYiiPQoU4SxAi-mzJCncCwfhbKaP31tAKDyceaVmyMViSYUARL1qC7KrQwYPdFPzHPNnQsgMYYGH5ez96tKgYa4jB1rnMDaIaQcX0gDUDOoGObdP8G4cr1Ga2qmFaFBWj3po6qroxXcPc/s640/Api2.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
When We Use GET() //Method&lt;/h3&gt;
&lt;br /&gt;
In Api we use Get() method&amp;nbsp; for request/fetch&amp;nbsp; the data/details from url/server&amp;nbsp; and database&lt;br /&gt;
The get method is common use in http methods&lt;br /&gt;
&lt;br /&gt;
GET() requests can be cached&lt;br /&gt;
GET() requests remain in the browser history&lt;br /&gt;
GET() requests can be bookmarked&lt;br /&gt;
GET() requests should never be used when dealing with sensitive data&lt;br /&gt;
GET() requests have length restrictions&lt;br /&gt;
GET() requests are only used to request data (not modify)&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;When We Use POST() //Method&lt;/h3&gt;
&lt;br /&gt;
In Api we use POST() method to&amp;nbsp; insert the data into database&lt;br /&gt;
&lt;br /&gt;
POST() requests are never cached&lt;br /&gt;
POST() requests do not remain in the browser history&lt;br /&gt;
POST() requests cannot be bookmarked&lt;br /&gt;
POST() requests have no restrictions on data length&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
when we use PUT() //Method&lt;/h3&gt;
&lt;br /&gt;
&amp;nbsp;Put is use for update the&amp;nbsp; resource&amp;nbsp; but Post is also use for update the resource so&lt;br /&gt;
&amp;nbsp;Why we use Put over Post&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&amp;nbsp;because&amp;nbsp; When we call put method multiple time always produce the same result.&lt;br /&gt;
&amp;nbsp;When we call Post method multiple time its has side effects always produce the same result.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
when we use&amp;nbsp;&lt;span style=&quot;font-size: small; font-weight: 400;&quot;&gt;PATCH&lt;/span&gt;() //Method&lt;/h3&gt;
HTTP PATCH() requests&amp;nbsp; make partial update on a resource/server. If you see PUT() request are also modify a&lt;br /&gt;
resource entity&lt;br /&gt;
So lets make more clear&lt;br /&gt;
&lt;br /&gt;
PATCH() method are the perfact choice for partially updating an&lt;br /&gt;
existing resource and PUT() should only used if you’re replacing a resource in its entirety.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://apitutorialcode.blogspot.com/feeds/8674723240430995694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://apitutorialcode.blogspot.com/2020/03/what-is-http.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3595385100029760036/posts/default/8674723240430995694'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3595385100029760036/posts/default/8674723240430995694'/><link rel='alternate' type='text/html' href='https://apitutorialcode.blogspot.com/2020/03/what-is-http.html' title='What is HTTP?'/><author><name>Avinash Shrivastava</name><uri>http://www.blogger.com/profile/02508139244292073311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxaCVD6ku_E8CLWplDiV2M6_TE2mvkjkwjyobZneco6nA-rRP0K5-HAS3750XYtSgm3MunsGM_2W2Bn9K_Kr5c2WaHLpvpX5MqyOOGiqqdfnLEeDBsULfhdhNky8kMK5RUoZ6rkUq2gRw/s72-c/method.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3595385100029760036.post-7159001777417971722</id><published>2020-03-05T16:05:00.000+05:30</published><updated>2020-03-05T16:05:01.074+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="API"/><category scheme="http://www.blogger.com/atom/ns#" term="c#"/><title type='text'>What Is API (Application Programming Interface) How will use this</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
What Is API (Application Programming Interface) How will use this&lt;/h2&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
API (Application Programming Interface) its is a acronym&amp;nbsp; Process for communicate to database&amp;nbsp; which is on server or and also its work like and mediator to&lt;br /&gt;get the information from any server what you want just you have to pass some parameter what its require&lt;/h4&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;A Application&amp;nbsp;Programming Interface which use the communication&amp;nbsp;many way like&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
GET--------------GET its work when you want to desire data from any server&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
PUT--------------PUT its work when you want to update the data of server but here you have to send mandatory Id which Id data you want to update&lt;/div&gt;
&lt;div&gt;
POST-------------Post its work when you want to save data on server&lt;/div&gt;
&lt;div&gt;
DELETE-----------DELETE its work when you want to delete the data of server&amp;nbsp; ut here you have to send mandatory Id which Id data you want to Delete&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
First Understand How its work&amp;nbsp;&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
For Use API you need to have&amp;nbsp; permission to access the data&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
like if you working with any third party API then you Need to have Access-Token what party Provide for that&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
there have many security to use API like wise when you request for data to calling any API that will not provide full data but they provide section of data&lt;/div&gt;
&lt;div&gt;
like if you call you tube data API&amp;nbsp; and mention subscription than YouTube will provide only subscription of particular Channel&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Note :&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Some Person tell me API is a application but its not a application just i told you this is the way by which you can communicate to database of any&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
particular website or application to fetching the data ,if you have a android application so no one can call that application by API but the Can call&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
the data base of application&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Lets Take Example&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
All you are using PayTm but you know PayTm Provide Many Service&amp;nbsp; like Recharge of All DTH ,Mobile ,Movie ticket,Train Booking,Bus ,Payment option so&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
PayTm call API for each Service to fetch the data just Mobile Re-chase Plane ,Train Time,Bus no, and many more&lt;/div&gt;
&lt;div&gt;
Near about all Company which deal on online service they provide API and also they Use API&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
If use trivago&amp;nbsp; then there you will get all hotel details and rate ,room image&amp;nbsp; so trivago call to hotel site database by the API&amp;nbsp; and they get updated data&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Some Example&amp;nbsp;&lt;/h3&gt;
&lt;div&gt;
1&amp;gt; Google APIs Explorer&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp;where You will get every Google Product API&amp;nbsp; some Like Gmail Auth,Graph,Blog&amp;nbsp; and many moe&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
2&amp;gt; YouTube API Expoder&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp;where you will get any channel info,Download YouTube Video ,YouTube video to mp3,comment ,like,subscribe and more&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp;to calling a particular api which is provide for this service&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3&amp;gt;Facebook&amp;nbsp; they also provide all service same like YouTube API&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
4&amp;gt; Ice Pay,PayPal,Pay Tm,Any Bank and more Provide Bank transaction API&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
5&amp;gt;Every News Chanel Provided API&amp;nbsp; to call that API you can get all Posted news on news channel Site&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
and there area many more API provide&amp;nbsp; just search on google&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;About this Post&lt;/h3&gt;
&lt;div&gt;
&lt;div&gt;
In this Post i am trying to make our user understand about API service and what is API and i will post on every useful API code on my site how&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
in which i will show you how to call API and get data from , &lt;a href=&quot;https://apitutorialcode.blogspot.com/2020/03/how-to-get-channel-info-from-channel.html&quot;&gt;How to Get YouTube channel Info&amp;nbsp; from YouTube&amp;nbsp;API in Ap.net C#&lt;/a&gt; if you want to know please&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://apitutorialcode.blogspot.com/2020/03/how-to-get-channel-info-from-channel.html&quot;&gt;click here&lt;/a&gt;,Thanks a lot to read my Article and giving me your valuable Time if you want to being with us please follow us and subscribe my&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
blog&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://apitutorialcode.blogspot.com/feeds/7159001777417971722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://apitutorialcode.blogspot.com/2020/03/what-is-api-application-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3595385100029760036/posts/default/7159001777417971722'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3595385100029760036/posts/default/7159001777417971722'/><link rel='alternate' type='text/html' href='https://apitutorialcode.blogspot.com/2020/03/what-is-api-application-programming.html' title='What Is API (Application Programming Interface) How will use this'/><author><name>Avinash Shrivastava</name><uri>http://www.blogger.com/profile/02508139244292073311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3595385100029760036.post-9134137373588112714</id><published>2020-03-03T14:00:00.002+05:30</published><updated>2020-03-03T14:18:40.961+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="c#"/><category scheme="http://www.blogger.com/atom/ns#" term="YouTube"/><title type='text'>How to get Channel info from channel url of  Youtube  using Youtube Expoder </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
How to get Channel info from channel url of&amp;nbsp; Youtube&amp;nbsp; using Youtube Expoder&amp;nbsp;&lt;/h2&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Youtube Expoder&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
Hi user to we gona show to you how to use Youtube expoder in asp,net c# and having use this we get the information of any youtubr chane&lt;/div&gt;
&lt;div&gt;
like channel name ,description total like ,total subscribe ,total Unlike&amp;nbsp; and more&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRsNEIdAPGy8h-O0kS27QmHTYBSWsxg339nRXmNVbfdEOMIAAAOmxwWyqgriSjZhtKYsy1_C9RkpRDMgGs2MhglJHE-twNANhjgXt0P-bmTwR8C44VE7QW2rH9XrUIrLKdzehcBmqM414/s1600/Ouput.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;https://apitutorialcode.blogspot.com/&quot; border=&quot;0&quot; data-original-height=&quot;254&quot; data-original-width=&quot;419&quot; height=&quot;241&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRsNEIdAPGy8h-O0kS27QmHTYBSWsxg339nRXmNVbfdEOMIAAAOmxwWyqgriSjZhtKYsy1_C9RkpRDMgGs2MhglJHE-twNANhjgXt0P-bmTwR8C44VE7QW2rH9XrUIrLKdzehcBmqM414/s400/Ouput.png&quot; title=&quot;How to get Channel info from channel url of  Youtube  using Youtube Expoder &quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;h3&gt;
1&amp;gt;Fiest create new asp.net c# apllication&lt;br /&gt;2&amp;gt;take one page&amp;nbsp; with any name&lt;br /&gt;&lt;br /&gt;3&amp;gt; first all youtube need to do download youtube expoder from nuget package manager or from visual studi&amp;nbsp; Tool&amp;gt;Nuget package manager&amp;gt;package manager console&lt;br /&gt;or Tool&amp;gt;Nuget package manager&amp;gt;package manager setting when you download this in your project soluation&amp;nbsp; please rebuild your aaplication&lt;br /&gt;&lt;br /&gt;4 now take one textbox in which you fill chanel Id and take one button&lt;br /&gt;&amp;nbsp; for display the message we take table and that table we display chanel info&lt;/h3&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
like that&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;textarea style=&quot;height: 435px; margin: 0px; width: 625px;&quot;&gt;&lt;pre&gt;&lt;table class=&quot;table table-bordered table-responsive&quot;&gt;
                &lt;tbody&gt;
&lt;tr&gt;
                    &lt;td&gt;Enter Chanel Url&lt;/td&gt;
                    &lt;td&gt;&lt;asp:textbox cssclass=&quot;form-control&quot; id=&quot;txtenterchanellurl&quot; runat=&quot;server&quot;&gt;&lt;/asp:textbox&gt; 
                      
                    &lt;/td&gt;
                    &lt;td&gt;&lt;asp:button cssclass=&quot;btn btn-primary&quot; id=&quot;btngetdetails&quot; onclick=&quot;btngetdetails_Click&quot; runat=&quot;server&quot; text=&quot;Get&quot;&gt;&lt;/asp:button&gt;&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td&gt;Channel Tittle&lt;/td&gt;
                      &lt;td&gt;&lt;asp:label id=&quot;lbltitle&quot; runat=&quot;server&quot;&gt;&lt;/asp:label&gt; &lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td&gt;Clannel Id&lt;/td&gt;
                      &lt;td&gt;&lt;asp:label id=&quot;lblchannelId&quot; runat=&quot;server&quot;&gt;&lt;/asp:label&gt;&lt;/td&gt;
                &lt;/tr&gt;
&lt;tr&gt;
                    &lt;td&gt;Logo&lt;/td&gt;
                      &lt;td&gt;&lt;asp:image id=&quot;logoid&quot; runat=&quot;server&quot; width=&quot;100px&quot;&gt;&lt;/asp:image&gt;&lt;/td&gt;
                &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/pre&gt;
&lt;/textarea&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now work in code behind&lt;br /&gt;
take using YoutubeExplode; name space if want to know abot namespace please click on this&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Go to design view take page Async=&quot;true&quot;&lt;/h4&gt;
Like this&lt;br /&gt;
&lt;br /&gt;
&amp;lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; Async=&quot;true&quot; CodeBehind=&quot;WebForm6.aspx.cs&quot; Inherits=&quot;YT.WebForm6&quot; %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now work on button click event&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; protected void btngetdetails_Click(object sender, EventArgs e)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BindChannel();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private void BindChannel()&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (txtenterchanellurl.Text.Trim()!=&quot;&quot;) //here we are cheking there is null value in txtenterchanellurl if if null we dont do any action youcan show the message to user please enter channel url or else&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // From gere we calling YoutubeClient.ParseChannelId to get the Channel id from channel url ParseChannelId search the channel id from url and validate the Id is channel id or not&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var id = YoutubeClient.ParseChannelId(txtenterchanellurl.Text.Trim());&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BindChanellDetaislAsync(id);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; private async void BindChanellDetaislAsync(string id)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// This section are generating the youtube client service&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var client = new YoutubeClient();&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp;//here we geting the channel info to call&amp;nbsp; GetChannelAsync method&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; var ChannelDetails = await client.GetChannelAsync(id.ToString());&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lblchannelId.Text = ChannelDetails.Id.ToString();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lbltitle.Text= ChannelDetails.Title.ToString();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; logoid.ImageUrl= ChannelDetails.LogoUrl;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&lt;textarea style=&quot;height: 464px; margin: 0px; width: 674px;&quot;&gt;&lt;br /&gt;
&lt;pre&gt; protected void Page_Load(object sender, EventArgs e)
        {
            if(!IsPostBack)
            {
            }
        }

        private void BindChannel()
        {
            if (txtenterchanellurl.Text.Trim()!=&quot;&quot;)
            {
                var id = YoutubeClient.ParseChannelId(txtenterchanellurl.Text.Trim());
                BindChanellDetaislAsync(id);
            }
           
        }

        private async void BindChanellDetaislAsync(string id)
        {
            var client = new YoutubeClient();

            var ChannelDetails = await client.GetChannelAsync(id.ToString());
            lblchannelId.Text = ChannelDetails.Id.ToString();
            lbltitle.Text= ChannelDetails.Title.ToString();
            logoid.ImageUrl= ChannelDetails.LogoUrl;
        }

        protected void btngetdetails_Click(object sender, EventArgs e)
        {

            BindChannel();
        }
&lt;/pre&gt;
&lt;/textarea&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp;i hope this article will help you if you have any query relate to this please ask us

&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='https://apitutorialcode.blogspot.com/feeds/9134137373588112714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://apitutorialcode.blogspot.com/2020/03/how-to-get-channel-info-from-channel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/3595385100029760036/posts/default/9134137373588112714'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/3595385100029760036/posts/default/9134137373588112714'/><link rel='alternate' type='text/html' href='https://apitutorialcode.blogspot.com/2020/03/how-to-get-channel-info-from-channel.html' title='How to get Channel info from channel url of  Youtube  using Youtube Expoder '/><author><name>Avinash Shrivastava</name><uri>http://www.blogger.com/profile/02508139244292073311</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRsNEIdAPGy8h-O0kS27QmHTYBSWsxg339nRXmNVbfdEOMIAAAOmxwWyqgriSjZhtKYsy1_C9RkpRDMgGs2MhglJHE-twNANhjgXt0P-bmTwR8C44VE7QW2rH9XrUIrLKdzehcBmqM414/s72-c/Ouput.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>