PHPackages                             c0710204/tv-calendar-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. c0710204/tv-calendar-api

ActiveLibrary[API Development](/categories/api)

c0710204/tv-calendar-api
========================

02PHP

Since Mar 16Pushed 11y ago1 watchersCompare

[ Source](https://github.com/c0710204/TVCalendarAPIwithPHP)[ Packagist](https://packagist.org/packages/c0710204/tv-calendar-api)[ RSS](/packages/c0710204-tv-calendar-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

TVCalendarAPIwithPHP
====================

[](#tvcalendarapiwithphp)

一个用php写的基于TVCalendar网站的美剧日历api
目前最新版：0.2.0

更新
--

[](#更新)

相比于0.1.0版本，新版更改了目录结构，使其更为合理。
除了之前已有的日历抓取功能外，新加入了注册、获取全部节目、获取收藏的节目、添加节目到收藏、从收藏删除节目功能。
**注意：返回数据的status值可能出现错误！**

安装
--

[](#安装)

首先，你需要确保自己有一个可以正常使用的web服务器，且已配置好php，并安装好php的cURL库。
然后，将TVCalendarAPI文件夹拷贝到你的web服务器目录下即可。

使用
--

[](#使用)

#### getcalendar.php

[](#getcalendarphp)

你需要使用get方法向服务器传递两个参数：

> username
> password

url: http://&lt;你的域名&gt;/&lt;你的目录&gt;/TVCalendarAPI/getcalendar.php?username=&amp;password=

你将获取到一段json数据，格式如下：

> {
>
> > status: ture/false, msg: "none", data: {
> >
> > > "date": \[
> > >
> > > > {
> > > >
> > > > > name: "the name of episode",
> > > > > season: "a digit from 0 to 99",
> > > > > episode: "a digit from 0 to 99"
> > > >
> > > > },
> > > > { another... }
> > >
> > > \],
> > > "anotherdate...": \[\]
> >
> > }
>
> }

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/81870afd133ec2f560968c91fc576a930edccfb492f67745e8a48bb2212f2a25?d=identicon)[c0710204](/maintainers/c0710204)

---

Top Contributors

[![c0710204](https://avatars.githubusercontent.com/u/2056940?v=4)](https://github.com/c0710204 "c0710204 (4 commits)")[![LoneSpectator](https://avatars.githubusercontent.com/u/5823347?v=4)](https://github.com/LoneSpectator "LoneSpectator (3 commits)")

### Embed Badge

![Health badge](/badges/c0710204-tv-calendar-api/health.svg)

```
[![Health](https://phpackages.com/badges/c0710204-tv-calendar-api/health.svg)](https://phpackages.com/packages/c0710204-tv-calendar-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M453](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
