承接 avryhof/webservices 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

avryhof/webservices

Composer 安装命令:

composer require avryhof/webservices

包简介

Web service classes with a cURL base

README 文档

README

Some Basic classes for handling Web services. Starting with a cURL Class, and extending to use the REST services for some web service provicers.

So far we have -

  • Issuu
  • Meetup

CurlClass

This is a foundation class that just provides easy ways to call curl functionality.

Issuu

documentList() - Get the Document list foldersList() - Get the Folders List getEmbed() - Get the Embed code for a document

    $iss = new issuu($issuu_apikey, $issuu_apisecret);

    $docs = $iss->documentList(array(
        "resultOrder" => "desc",
        "documentSortBy" => "publishDate"
    ));

    foreach($docs->result as $doc) {
        ?>
        <article>
            <h3><i class="icon-book-open"></i> <a href="http://issuu.com/<?= $doc->document->username; ?>/docs/<?= $doc->document->name; ?>" target="_blank"><?= $doc->document->title; ?></a></h3>
            <section><?= date('F j, Y',strtotime($doc->document->publishDate)); ?> &mdash; <a href="http://issuu.com/<?= $doc->document->username; ?>/docs/<?= $doc->document->name; ?>" target="_blank">Read Now&hellip;</a></section>
        </article>
        <?
    }

Meetup

getOpenEvents() getEvents()

    $meetup = new Meetup($meetup_key);

    $events = $meetup->getEvents($meetup_group, array("status" => "upcoming"));

    foreach ($events->results as $event) {
        ?>

        <article>
            <h3><a href="<?= $event->event_url; ?>" target="_blank"><?= $event->name; ?></a></h3>
            <p class="meta"><?= date('F j, Y',(($event->time / 1000) + 3600)); ?> @ <?= date('g:i a',(($event->time / 1000)+3600)); ?> | <?= $event->yes_rsvp_count; ?> going.</p>
            <p><?= linkify($event->description); ?></p>
            <p><a href="<?= $event->event_url; ?>" target="_blank">Join this event</a></p>
        </article>
        <?
    }

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-11-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固