Skip to content

Commit 430f402

Browse files
committed
fix php example
1 parent b8f6d16 commit 430f402

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php/example.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424

2525
// loggin in and retrieving user data
2626
$api->loginUser('your_login', 'your_password');
27-
print_r(api.getUserData());
27+
print_r($api->getUserData());
2828

2929
// purchasing and downloading a file
30-
$dl_data = $api.getMedia(35957426, 'XS');
30+
$dl_data = $api->getMedia(35957426, 'XS');
3131
$api.downloadMedia($dl_data['url'], '/tmp/' + $dl_data['name']);

0 commit comments

Comments
 (0)