3600, //one hour 'json_response' => true ]); return $response['data']['lbc_usd'] ?? 0; } public static function subscribe($email) { return Curl::post(static::getApiUrl('/list/subscribe'), ['email' => $email], ['json_response' => true]); } public static function unsubscribe($email) { return Curl::post(static::getApiUrl('/list/unsubscribe'), ['email' => $email], ['json_response' => true]); } }