Bing Homepage API
- -Select your language to get started:
-- php - C# - Go - Raw API -
- About - -
Using with php
--
php
-
- <?php
-
- $cc="US";
- //Your contry code
-
- $bing=simplexml_load_file("https://cdn.muzzammil.xyz/bing/bing.php?format=xml&cc=$cc");
-
- $bingHP=$bing->url; //$bingHP now contains the url of image.
-
- $bingCopyright=$bing->copyright; //Don't forget the copyright!
-
- $bingCopyrightLink=$bing->copyrightlink;
- ?>
-
- -
-
-
-
-
- ?>
-
- C# - Go - Raw API - -
If you want to add a language, please contribute on our GitHub page.
-Raw API link
-XML
-
- https://cdn.muzzammil.xyz/bing/bing.php?format=xml&cc=US
- //Use your Country Code (cc=YourCC) -
- - //Use your Country Code (cc=YourCC) -
-
JSON
-
- https://cdn.muzzammil.xyz/bing/bing.php?format=json&cc=US
- //Use your Country Code (cc=YourCC) -
- - //Use your Country Code (cc=YourCC) -
-
-
Plain Text
-
- https://cdn.muzzammil.xyz/bing/bing.php?format=text&cc=US
- //Use your Country Code (cc=YourCC) -
- - //Use your Country Code (cc=YourCC) -
- See code for php - -