Neko-Love (API)
Search…
Neko-Love Information
Example
Python
PHP
Lua
NodeJS
Ruby
Powered By
GitBook
PHP
PHP request method
get
https://neko-love.xyz
/api/v1/:endpoint
<?php
nekoGET
(
"neko"
);
function
nekoGET
(
$type
)
{
$url
=
'https://neko-love.xyz/api/v1/'
.
$type
;
$body
=
file_get_contents
(
$url
);
if
(
$body
==
false
)
echo
'An error has occurred'
;
else
{
$obj
=
json_decode
(
$body
);
echo
$obj
->
{
'url'
};
}
}
?>
Example - Previous
Python
Next - Example
Lua
Last modified
2yr ago
Copy link