qingting_api 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c0396665a3c1cb2bc62540f39831cb8641c6b041
4
+ data.tar.gz: 84ab29eb16ecbe768f8addca9dd2e53282880576
5
+ SHA512:
6
+ metadata.gz: 035fc2aab053561edb8e5c8486f0e86c536473a2634fb1fc0a6cd8d45c8de1830df5a2646b4ba7ad81bbbb0fd3d0a91d065ee8c5f5c9a4dbcc439b5cf3f8cf49
7
+ data.tar.gz: d1b5e7aeead920ca4d4702970a1cd9f490dae2a6e847dcc544f539a59382e8ce18be403d3a33729ba29b1badb80a3f45dbf67ce8d0dcb4b958c1ff73f69e2b2d
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ test/
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+
3
+ rvm:
4
+ - 2.0.0
5
+ - 2.1.0
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in qingting_api.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Cheenwe
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,101 @@
1
+ # QingtingApi
2
+
3
+ 蜻蜓FM,接口
4
+ http://open.qingting.fm/documents/API%20%E5%BC%80%E5%8F%91%E6%96%87%E6%A1%A3/
5
+
6
+ ## 安装
7
+
8
+ 在您的 `Gemfile` 里面添加:
9
+
10
+ ```
11
+ gem 'qingting_api'
12
+ ```
13
+
14
+ 然后, 在 console 中执行下面的代码:
15
+
16
+ ``` bash
17
+ # 安装gem
18
+ bundle
19
+
20
+ rails g qingting_api:config # 将会拷贝配置文件至 `config/initializers/qingting_api.rb`
21
+ ```
22
+
23
+ ## 配置
24
+
25
+ ``` ruby
26
+ SmartSMS.configure do |config|
27
+
28
+ # config.base_url = "http://api.open.qingting.fm" # api url
29
+ # config.client_id = "ZTk4MzAwMzAtYWFiOC0xMWU0LTkyM2YtMDAxNjNlMDAyMGFk" # 授权 API client_id
30
+ # config.client_secret = "OTdiNmI0MWEtYzhiZC0zYWE1LWExZmEtMDU0OWZhNTljZmRk" # 授权 API client_secret
31
+ # config.api_version = :v6 # API 的版本,目前有v6
32
+ # config.page_num = 1 # 获取信息时, 指定默认的页数
33
+ # config.page_size = 20 # 获取信息时, 一页包含信息数量
34
+ # config.company = 'Cheenwe' # 申请api公司名称
35
+ # config.expires_in = 7200.second # 过期时间。当access_token过期时,API会返回token_expired错误。这时需要重新申请access token
36
+ end
37
+ ```
38
+
39
+ ## 接口方法
40
+
41
+ #### 音频数据中心
42
+ > |方法|API|说明
43
+ |:----- |:-------|----- |
44
+ |QingtingApi.mediacenterlist |
45
+ /v6/media/mediacenterlist | 获取域名中心
46
+
47
+ #### 分类(Category)
48
+
49
+ > |方法|API|说明
50
+ |:----- |:-------|----- |
51
+ |QingtingApi.categories |
52
+ /v6/media/categories | 获取点播所有分类
53
+ |QingtingApi.get("categories/5") /QingtingApi.get_id("categories",5) |
54
+ /v6/media/categories/5 |直播分类及获取直播属性
55
+ |QingtingApi.get("categories/5") /QingtingApi.get_id("categories",5) |
56
+ /v6/media/categories/#{category_id} |获取分类属性
57
+ |QingtingApi.catrgory_channel(category_id, curpage) |
58
+ /v6/media/categories/#{category_id}/channels/order/0/curpage/#{curpage}/pagesize/30 |获取分类下的所有电台或直播电台
59
+
60
+ #### 点播(OnDemand)
61
+
62
+ > |方法|API|说明
63
+ |:----- |:-------|----- |
64
+ |QingtingApi.get("channelondemands/35242") / QingtingApi.get_id("channelondemands",35242) |
65
+ /v6/media/channelondemands/#{channel_id} | 获取点播电台
66
+ |QingtingApi.ondemand_channel(35242,1) |
67
+ /v6/media/channelondemands/#{channel_id}/programs/curpage/#{curpage}/pagesize/30 | 获取点播电台下的点播节目
68
+ |QingtingApi.get("programs/3568700") / QingtingApi.get_id("programs",3568700) |
69
+ /v6/media/programs/#{programid}| 获取点播节目
70
+
71
+ #### 直播(Live)
72
+
73
+ > |方法|API|说明
74
+ |:----- |:-------|----- |
75
+ |QingtingApi.get("channellives/266") / QingtingApi.get_id("channellives",266) |
76
+ /v6/media/channellives/#{channel_id} | 获取直播电台
77
+ |QingtingApi.live_channel(266,4) |
78
+ /v6/media/channellives/#{channel_id}/programs/day/#{day_1}/#{day_2}/.../ | 获取直播电台节目单
79
+ #### 排行榜
80
+
81
+ > |方法|API|说明
82
+ |:----- |:-------|----- |
83
+ |QingtingApi.get("recommends/billboards/channellives") |
84
+ /v6/media/recommends/billboards/channellives | 电台排行榜
85
+ |QingtingApi.get("recommends/billboards/programondemands") |
86
+ /v6/media/recommends/billboards/programondemands | 点播节目排行榜
87
+
88
+ #### 搜索
89
+ > |方法|API|说明
90
+ |:----- |:-------|----- |
91
+ |QingtingApi.search("上海") /QingtingApi.search("上海","channel_ondemand") | /search/#{keyword}/type/#{type}| 搜索
92
+
93
+ ## Contributing
94
+
95
+ Bug reports and pull requests are welcome on GitHub at https://github.com/cheenwe/qingting_api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
96
+
97
+
98
+ ## License
99
+
100
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
101
+
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,19 @@
1
+ require 'rails/generators'
2
+ require 'rails/generators/active_record'
3
+
4
+ module QingtingApi
5
+ module Generators
6
+ class ConfigGenerator < Rails::Generators::Base
7
+ source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
8
+
9
+ desc <<-DESC
10
+ Description:
11
+ Copies QingtingApi configuration file to your application's initializer directory.
12
+ DESC
13
+
14
+ def copy_config_file
15
+ template 'qingting_api_config.rb', 'config/initializers/qingting_api_config.rb'
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,13 @@
1
+ # encoding: utf-8
2
+
3
+ QingtingApi.configure do |config|
4
+
5
+ # config.base_url = "http://api.open.qingting.fm" # api url
6
+ # config.client_id = "ZTk4MzAwMzAtYWFiOC0xMWU0LTkyM2YtMDAxNjNlMDAyMGFk" # 授权 API client_id
7
+ # config.client_secret = "OTdiNmI0MWEtYzhiZC0zYWE1LWExZmEtMDU0OWZhNTljZmRk" # 授权 API client_secret
8
+ # config.api_version = :v6 # API 的版本,目前有v6
9
+ # config.page_num = 1 # 获取信息时, 指定默认的页数
10
+ # config.page_size = 20 # 获取信息时, 一页包含信息数量
11
+ # config.company = 'Cheenwe' # 申请api公司名称
12
+ # config.expires_in = 7200.second # 过期时间。当access_token过期时,API会返回token_expired错误。这时需要重新申请access token
13
+ end
@@ -0,0 +1,38 @@
1
+ # encoding: utf-8
2
+ require 'net/http'
3
+ require 'active_support/json'
4
+
5
+ module QingtingApi
6
+ # Module that handle user information
7
+ #
8
+ module Account
9
+ module_function
10
+
11
+ # 获取账户 token
12
+ #
13
+ def access_token
14
+ post 'access', grant_type: "client_credentials", client_id: QingtingApi.config.client_id, client_secret:QingtingApi.config.client_secret
15
+ end
16
+
17
+
18
+ def post(api, options = {})
19
+ uri = URI.join(QingtingApi.config.base_url, api)
20
+ res = Net::HTTP.post_form(uri, options)
21
+ result res.body
22
+ end
23
+
24
+
25
+ def result(body)
26
+ begin
27
+ resule = ActiveSupport::JSON.decode body
28
+ resule['access_token']
29
+ rescue => e
30
+ {
31
+ code: 502,
32
+ msg: '内容解析错误',
33
+ detail: e.to_s
34
+ }
35
+ end
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,44 @@
1
+ # encoding: utf-8
2
+ require 'active_support/configurable'
3
+ require 'active_support/core_ext'
4
+
5
+ module QingtingApi
6
+
7
+ # curl -X POST "http://api.open.qingting.fm/access?&grant_type=client_credentials" -d "client_id=ZTk4MzAwMzAtYWFiOC0xMWU0LTkyM2YtMDAxNjNlMDAyMGFk&client_secret=OTdiNmI0MWEtYzhiZC0zYWE1LWExZmEtMDU0OWZhNTljZmRk"
8
+
9
+ # client_id和client_secret,用以后续获取access_token
10
+ def self.configure(&block)
11
+ yield @config ||= QingtingApi::Configuration.new
12
+ end
13
+
14
+ # Global settings for QingtingApi
15
+ def self.config
16
+ @config
17
+ end
18
+
19
+ # Configuration class
20
+ #
21
+ class Configuration #:nodoc:
22
+ include ActiveSupport::Configurable
23
+ # client_id和client_secret,用以后续获取access_token
24
+ config_accessor :base_url # api url
25
+ config_accessor :client_id # 授权 API client_id
26
+ config_accessor :client_secret # 授权 API client_secret
27
+ config_accessor :api_version # API 的版本,目前有v6
28
+ config_accessor :page_num # 获取信息时, 指定默认的页数
29
+ config_accessor :page_size # 获取信息时, 一页包含信息数量
30
+ config_accessor :company # 默认公司名称
31
+ config_accessor :expires_in # 过期时间。当access_token过期时,API会返回token_expired错误。这时需要重新申请access token
32
+ end
33
+
34
+ configure do |config|
35
+ config.base_url = "http://api.open.qingting.fm"
36
+ config.client_id = "ZTk4MzAwMzAtYWFiOC0xMWU0LTkyM2YtMDAxNjNlMDAyMGFk"
37
+ config.client_secret = "OTdiNmI0MWEtYzhiZC0zYWE1LWExZmEtMDU0OWZhNTljZmRk"
38
+ config.api_version = :v6
39
+ config.page_num = 1
40
+ config.page_size = 20
41
+ config.company = 'Cheenwe'
42
+ config.expires_in = 7200.second
43
+ end
44
+ end
@@ -0,0 +1,62 @@
1
+ module QingtingApi
2
+ # Message service: methods that are used to manage messages
3
+ module QingTing
4
+
5
+ def self.included(base)
6
+ base.send :extend, ClassMethods
7
+ end
8
+
9
+ # Class methods
10
+ module ClassMethods
11
+
12
+ def find_by_cid(cmode, cid)
13
+ Request.get "#{cmode}", cid: cid
14
+ end
15
+
16
+ def method_missing(name, *args)
17
+ if name != /^get_(.*)/
18
+ Request.get "/#{QingtingApi.config.api_version}/media/#{name}?access_token=#{token}"
19
+ else
20
+ {
21
+ code: 404,
22
+ msg: 'NOT FIND'
23
+ }
24
+ end
25
+ end
26
+
27
+ def get(name)
28
+ Request.get "/#{QingtingApi.config.api_version}/media/#{name}?access_token=#{token}"
29
+ end
30
+
31
+ def get_id(name, id)
32
+ Request.get "/#{QingtingApi.config.api_version}/media/#{name}/#{id}?access_token=#{token}"
33
+ end
34
+
35
+ def catrgory_channel(category_id, curpage)
36
+ Request.get "/#{QingtingApi.config.api_version}/media/categories/#{category_id}/channels/order/0/curpage/#{curpage}/pagesize/30?access_token=#{token}"
37
+ end
38
+
39
+ def ondemand_channel(category_id, curpage)
40
+ Request.get "/#{QingtingApi.config.api_version}/media/channelondemands/#{category_id}/programs/curpage/#{curpage}/pagesize/30?access_token=#{token}"
41
+ end
42
+
43
+ def live_channel(channel_id, day)
44
+ Request.get "/#{QingtingApi.config.api_version}/media/channellives/#{channel_id}/programs/day/#{day}?access_token=#{token}"
45
+ end
46
+
47
+ def search(keyword, type={})
48
+ if type.present?
49
+ Request.get "/search/#{CGI.escape(keyword)}/type/#{type}?access_token=#{token}"
50
+ else
51
+ Request.get "/search/#{CGI.escape(keyword)}/type/all?access_token=#{token}"
52
+ end
53
+ end
54
+
55
+ def token
56
+ QingtingApi::Account.access_token
57
+ end
58
+
59
+ end
60
+
61
+ end
62
+ end
@@ -0,0 +1,52 @@
1
+ # encoding: utf-8
2
+ require 'net/http'
3
+ require 'active_support/json'
4
+
5
+ module QingtingApi
6
+ # Module that manage requests
7
+ module Request
8
+ # Method that use `Net::HTTP.post_form` to perform `POST` action
9
+ #
10
+ def post(api, options = {})
11
+ uri = URI.join(base_url, api)
12
+ res = Net::HTTP.post_form(uri, options)
13
+ result res.body
14
+ end
15
+
16
+ # Method that use `Net::HTTP.get` to perform `GET` action
17
+ #
18
+ def get(api, options = {})
19
+ url = URI.join(base_url, api)
20
+ result Net::HTTP.get(url)
21
+
22
+ # uri = URI('http://example.com/index.html')
23
+ # params = { :limit => 10, :page => 3 }
24
+ # uri.query = URI.encode_www_form(params)
25
+
26
+ # res = Net::HTTP.get_response(uri)
27
+ end
28
+
29
+ private
30
+
31
+ # Method that parse JSON to Hash
32
+ #
33
+ def result(body)
34
+ begin
35
+ ActiveSupport::JSON.decode body
36
+ rescue => e
37
+ {
38
+ code: 502,
39
+ msg: '内容解析错误',
40
+ detail: e.to_s
41
+ }
42
+ end
43
+ end
44
+
45
+ # Base uri for Qingting API
46
+ def base_url
47
+ "#{QingtingApi.config.base_url}"
48
+ end
49
+
50
+ module_function :post, :get, :result, :base_url
51
+ end
52
+ end
@@ -0,0 +1,3 @@
1
+ module QingtingApi
2
+ VERSION = "0.1.3"
3
+ end
@@ -0,0 +1,17 @@
1
+ require "qingting_api/version"
2
+ require 'qingting_api/config'
3
+ require 'qingting_api/request'
4
+ require 'qingting_api/qing_ting'
5
+
6
+ require 'qingting_api/account'
7
+
8
+ unless defined? ActiveRecord
9
+ begin
10
+ require 'active_record'
11
+ rescue LoadError; end
12
+ end
13
+
14
+ module QingtingApi
15
+ include QingTing
16
+
17
+ end
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'qingting_api/version'
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "qingting_api"
8
+ s.version = QingtingApi::VERSION
9
+ s.authors = ["cheenwe"]
10
+ s.email = ["cheenwe@gmail.com"]
11
+
12
+ s.summary = "Qingting Fm ruby api"
13
+ s.description = "Qingting Fm ruby api"
14
+ s.homepage = "https://github.com/cheenwe/qingting_api"
15
+ s.license = "MIT"
16
+
17
+ s.files = `git ls-files`.split($/)
18
+ s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
20
+ s.require_paths = ['lib']
21
+
22
+
23
+ s.add_dependency 'activerecord', ['>= 3.0', '< 5.0']
24
+ s.add_dependency 'activesupport', ['>= 3.0', '< 5.0']
25
+
26
+ s.add_development_dependency "bundler", "~> 1.10"
27
+ s.add_development_dependency "rake", "~> 10.0"
28
+ s.add_development_dependency 'rails', ['>= 3.1.0']
29
+ end
metadata ADDED
@@ -0,0 +1,143 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: qingting_api
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.3
5
+ platform: ruby
6
+ authors:
7
+ - cheenwe
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-11-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activerecord
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '3.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.0'
33
+ - !ruby/object:Gem::Dependency
34
+ name: activesupport
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '3.0'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '5.0'
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: '3.0'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '5.0'
53
+ - !ruby/object:Gem::Dependency
54
+ name: bundler
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '1.10'
60
+ type: :development
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '1.10'
67
+ - !ruby/object:Gem::Dependency
68
+ name: rake
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '10.0'
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - "~>"
79
+ - !ruby/object:Gem::Version
80
+ version: '10.0'
81
+ - !ruby/object:Gem::Dependency
82
+ name: rails
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: 3.1.0
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: 3.1.0
95
+ description: Qingting Fm ruby api
96
+ email:
97
+ - cheenwe@gmail.com
98
+ executables: []
99
+ extensions: []
100
+ extra_rdoc_files: []
101
+ files:
102
+ - ".gitignore"
103
+ - ".travis.yml"
104
+ - CODE_OF_CONDUCT.md
105
+ - Gemfile
106
+ - LICENSE.txt
107
+ - README.md
108
+ - Rakefile
109
+ - lib/generators/qingting_api/config_generator.rb
110
+ - lib/generators/qingting_api/templates/qingting_api_config.rb
111
+ - lib/qingting_api.rb
112
+ - lib/qingting_api/account.rb
113
+ - lib/qingting_api/config.rb
114
+ - lib/qingting_api/qing_ting.rb
115
+ - lib/qingting_api/request.rb
116
+ - lib/qingting_api/version.rb
117
+ - qingting_api.gemspec
118
+ homepage: https://github.com/cheenwe/qingting_api
119
+ licenses:
120
+ - MIT
121
+ metadata: {}
122
+ post_install_message:
123
+ rdoc_options: []
124
+ require_paths:
125
+ - lib
126
+ required_ruby_version: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ required_rubygems_version: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ requirements: []
137
+ rubyforge_project:
138
+ rubygems_version: 2.5.0
139
+ signing_key:
140
+ specification_version: 4
141
+ summary: Qingting Fm ruby api
142
+ test_files: []
143
+ has_rdoc: