lox/localbtc-php — pull request #4 by edmundluong (2014-11-22 05:59:40+00:00)
Title: Updated API functionality

Hello lox,

I implemented some of the new methods available in the newer version of the Localbitcoins API. I have made a small list of the additions below:

Newly implemented:
============================

Get Pincode - /api/pincode/
Get Dashboard - /api/dashboard/
Logout (expire Access Token) - /api/logout/

Get Contacts - /api/contacts/
Get Contact Info (by single ID) - /api/contact_info/{contact_id}/
Get Contact Info (by list) - /api/contact_info/
Get Contact Messages - /api/contact_messages/{contact_id}/
**Create Contact - /api/contact_create/{ad_id}/
Contact Dispute - /api/contact_dispute/{contact_id}/
Cancel Contact - /api/contact_cancel/{contact_id}/
Contact Fund - /api/contact_fund/{contact_id}
Post Message to Contact - /api/contact_message_post/{contact_id}/
Mark Contact as Paid - /api/contact_mark_as_paid/{contact_id}/

Get Wallet - /api/wallet/
Wallet Send - /api/wallet-send/
Wallet PIN Send - /api/wallet-send-pin/
Get Wallet Balance - /api/wallet-balance/
Create Wallet Address - /api/wallet-addr/

Get Ads - /api/ads/
Create Ad - /api/ad-create/
Get Ad (by single ID) - /api/ad-get/{ad_id}/
Get Ad (by list) - /api/ad-get/
Edit Ad - /api/ad/{ad_id}/

**Bug: Works for creating a contact given an amount and ad ID, but cannot send an initial message.