Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PHP 

Simple PHP Skype Resolver API System

Hi,
Today i have created this for my friend:

PHP Code

<?php

/* Simple API SYSTEM
   devSpyce. */



# CONFIGURATION
$APILink = "yourapi";
$keys = array('devSpyce', 'HF');

#REQUIRE
$skype = @$_GET['skype'];
$keyget = @$_GET['key'];

#SCRIPT
if(in_array($keyget, $keys)) {

if(empty(
$skype)) {

    die(
"You must input skype username");

} else { 

    
$ch = curl_init();
    
curl_setopt($ch, CURLOPT_URL, $APILink);
    
curl_setopt($ch, CURLOPT_HEADER, 0);
    
curl_setopt($ch, CURLOPT_NOSIGNAL, 1);
    
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    
curl_setopt($ch, CURLOPT_TIMEOUT, 3);

       
$result = curl_exec($ch);

    
curl_close($ch);

    echo 
'Result : ', $result;
     
  }

} else { die(
"Key is not valide"); }


?>

Support : PHP5, cURL
Credits : devSpyce

🤝
A few things that need fixed here / tidied up a bit.. Other than that, nice job!

PHP Code

<?php
# Config
$apiLink = "yourapi";
$keys = ['devSpyce', 'HF'];
# Start
if(isset($_GET['skype']) && isset($_GET['key']) && !empty($_GET['skype']))
{
  
# Check key
  
if(!in_array($_GET['key'], $keys)) {
    exit(
'Key is not valid');
  }
  
# cURL request
  
try {
    
$ch = curl_init();
    
curl_setopt($ch, CURLOPT_URL, $apiLink);
    
curl_setopt($ch, CURLOPT_HEADER, 0);
    
curl_setopt($ch, CURLOPT_NOSIGNAL, 1);
    
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    
curl_setopt($ch, CURLOPT_TIMEOUT, 3);
    
$result = curl_exec($ch);
    
curl_close($ch);
    
# Result
    
echo $result;
  } catch (
Exception $e) {
    echo 
"Error - ".$e;
  }
} else {
  exit(
'Error - Parameters missing!');
} 
I only use https://ricochet.im - ricochet:lmi3tdtlsnziqwdk

Jabber: [email protected]
(Sep 2, 2015 10:50 AM)stackoverflowin Wrote:  A few things that need fixed here / tidied up a bit.. Other than that, nice job!

PHP Code

<?php
# Config
$apiLink = "yourapi";
$keys = ['devSpyce', 'HF'];
# Start
if(isset($_GET['skype']) && isset($_GET['key']) && !empty($_GET['skype']))
{
  
# Check key
  
if(!in_array($_GET['key'], $keys)) {
    exit(
'Key is not valid');
  }
  
# cURL request
  
try {
    
$ch = curl_init();
    
curl_setopt($ch, CURLOPT_URL, $apiLink);
    
curl_setopt($ch, CURLOPT_HEADER, 0);
    
curl_setopt($ch, CURLOPT_NOSIGNAL, 1);
    
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    
curl_setopt($ch, CURLOPT_TIMEOUT, 3);
    
$result = curl_exec($ch);
    
curl_close($ch);
    
# Result
    
echo $result;
  } catch (
Exception $e) {
    echo 
"Error - ".$e;
  }
} else {
  exit(
'Error - Parameters missing!');
} 

Oh ok, thanks nice edit 👍 🎉
good job man
Thanks for sharing this man ✌
What i need to put in the api?

PM me please.
(Sep 7, 2015 12:10 PM)Kensa10 Wrote:  What i need to put in the api?

PM me please.

You need an API that has a Skype resolve script built into it.
Example: http://127.0.0.1/resolve.php?username=theirusername

Your best bet if you don't know how to make one of those is to purchase one from one of the major Skype resolver sites you can find on Google.
(Sep 7, 2015 12:10 PM)Kensa10 Wrote:  What i need to put in the api?

PM me please.

the api haha, here are some good ones:
api. c99. nl
I've uploaded the script to Pastr for you to look at also: http://pastr.me/!/dfwckut
I only use https://ricochet.im - ricochet:lmi3tdtlsnziqwdk

Jabber: [email protected]
Great work in putting this script together! If this is your first attempt at a Skype Resolver API its a great start.
hi
(Sep 7, 2015 04:10 PM)xADHDx Wrote:  Great work in putting this script together! If this is your first attempt at a Skype Resolver API its a great start.

No, its horrible. They're are 1,000 of these posted here, and people just say "Good job" to boost there posts.

How about you make something like this, but upgraded.

E.g
  • Keys in a database

  • Purchase API

  • Limits per free keys for an IP



So much stuff you could do that would be useful instead of the same script that nobody with a brain would use because its pretty fucking pointless
Never never never never never never nerver use @
I could see people making API using API then sell their API claiming it's their own lol
...
(Sep 8, 2015 06:34 PM)RumbleFrog Wrote:  I could see people making API using API then sell their API claiming it's their own lol

Hey, people can making API using he's own API bro because he can resell he's API i don't know but is verry used in skype duplicater API.

Sorry for my english. 🤝


Possibly Related Threads...
Thread / Author Replies Views Last Post
[PHP] by JUSTINMay 13, 2019 03:25 AM 6 321 May 13, 2019 03:25 AM
Last Post: BTC
[PHP] by XENOTproJan 20, 2018 05:23 AM 18 1,214 Jan 20, 2018 05:23 AM
Last Post: Carbanak
[PHP] by APΣXJan 4, 2018 11:52 AM 4 207 Jan 4, 2018 11:52 AM
Last Post: Mohinder