diff --git a/index.php b/index.php index fd71fef..375af11 100644 --- a/index.php +++ b/index.php @@ -22,82 +22,92 @@ SOFTWARE. --> + - Bing Homepage - - '; - echo ''; - $lang = $_GET["lang"]; - ?> - - - > + Bing Homepage + + '; +echo ''; +$lang = $_GET["lang"]; +?> + + + > + - -
-
-
-

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) -
-

-
JSON
-
- https://cdn.muzzammil.xyz/bing/bing.php?format=json&cc=US
- //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) -
-

- See code for php - -
-
+ + + +
+
+
+

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) +
+

+
JSON
+
+ https://cdn.muzzammil.xyz/bing/bing.php?format=json&cc=US
+ //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) +
+

+ See code for php + +
+
- + + \ No newline at end of file