-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.php
37 lines (26 loc) · 843 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
// Your default Api Public Key
$API_AUTH_KEY = '';
// Your default API Secret Key
$API_AUTH_SECRET = '';
// Put them to true after tests.
define('SSL_VERIFYPEER',false);
define('SSL_VERIFYHOST',false);
// Include the LocalBitcoins API
include('_api_localbitcoins.php');
$LocalBitcoins = new LocalBitcoins($API_AUTH_KEY,$API_AUTH_SECRET);
/*
--------------------- Examples ---------------------
*/
/* --- Account Example --- */
include('example_account.php');
/* --- Advertisements Example --- */
include('example_advertisements.php');
/* --- Merchant Invoices Example --- */
include('example_invoices.php');
/* --- Trades Example --- */
include('example_trades.php');
/* --- Wallet Example --- */
include('example_wallet.php');
/* --- Public Market Data Example --- */
include('example_public.php');