定制 masaharu-suizu/php-instapaper-api-client 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

masaharu-suizu/php-instapaper-api-client

最新稳定版本:0.0.3

Composer 安装命令:

composer require masaharu-suizu/php-instapaper-api-client

包简介

This PHP package is the client for Instapaper API.

README 文档

README

A PHP package for interacting with the Instapaper API. This package provides a simple and intuitive way to interact with Instapaper's full API.

Requirements

Installation

$ composer require masaharu-suizu/php-instapaper-api-client

Usage

Sample code.

<?php

use Instapaper\Client;

require_once __DIR__ . '/vendor/autoload.php';

$oauthConsumerId     = getenv('OAUTH_CONSUMER_ID');
$oauthConsumerSecret = getenv('OAUTH_CONSUMER_SECRET');
$username            = getenv('USERNAME');
$password            = getenv('PASSWORD');

$instapaper = new Client($oauthConsumerId, $oauthConsumerSecret);

if (! $instapaper->login($userName, $password)) {
    var_dump("Login failed");
    exit;
}

$bookmarks = $instapaper->getBookmarks();
var_dump($bookmarks);

Regarding the methods in Client, please refer to wiki.

License

This package is open-sourced software licensed under the MIT license.

Author

  • Masaharu Suizu

API Documentation

For more details about the Instapaper API, please refer to the official Instapaper API documentation.

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-07