bbc_api 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +51 -53
- data/lib/bbc/version.rb +3 -3
- metadata +2 -2
data/README.md
CHANGED
@@ -1,53 +1,51 @@
|
|
1
|
-
<html>
|
2
|
-
<head>
|
3
|
-
<title>BBC API INTEGRATION</title>
|
4
|
-
</head>
|
5
|
-
<body>
|
6
|
-
<h1>BBC WORLD NEWS API Integration</h1>
|
7
|
-
<p>
|
8
|
-
<a href="https://travis-ci.org/rajcybage/bbc_api"><img src="https://travis-ci.org/rajcybage/bbc_api.png?branch=master" alt="Build Status" /></a>
|
9
|
-
</p>
|
10
|
-
<div>
|
11
|
-
<p>
|
12
|
-
Integrate BBC world NEWS API to get all topic
|
13
|
-
</p>
|
14
|
-
</div>
|
15
|
-
<div>
|
16
|
-
<h1>System Requirements</h1>
|
17
|
-
<p>
|
18
|
-
<code>Ruby >= 1.9.3 or jruby >=1.7.x</code><br/>
|
19
|
-
<code>rails >= 3.0.x</code>
|
20
|
-
</p>
|
21
|
-
</div>
|
22
|
-
|
23
|
-
<div>
|
24
|
-
<h1> Installation </h1>
|
25
|
-
<p>
|
26
|
-
In Gemfile
|
27
|
-
</p>
|
28
|
-
<p>
|
29
|
-
<code>gem "bbc_api",
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
<
|
36
|
-
|
37
|
-
|
38
|
-
<
|
39
|
-
<code>bbc
|
40
|
-
<
|
41
|
-
<code>bbc.topics</code
|
42
|
-
<p><b>It will return
|
43
|
-
<
|
44
|
-
<p><b>
|
45
|
-
<
|
46
|
-
<
|
47
|
-
<code>bbc.topics.first.stories.
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
</body>
|
53
|
-
</html>
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>BBC API INTEGRATION</title>
|
4
|
+
</head>
|
5
|
+
<body>
|
6
|
+
<h1>BBC WORLD NEWS API Integration</h1>
|
7
|
+
<p>
|
8
|
+
<a href="https://travis-ci.org/rajcybage/bbc_api"><img src="https://travis-ci.org/rajcybage/bbc_api.png?branch=master" alt="Build Status" /></a>
|
9
|
+
</p>
|
10
|
+
<div>
|
11
|
+
<p>
|
12
|
+
Integrate BBC world NEWS API to get all topic(UK newz,headlines,world news,technology newz...) wise newz. You can install it as a desktop application as well as Rails Application
|
13
|
+
</p>
|
14
|
+
</div>
|
15
|
+
<div>
|
16
|
+
<h1>System Requirements</h1>
|
17
|
+
<p>
|
18
|
+
<code>Ruby >= 1.9.3 or jruby >=1.7.x</code><br/>
|
19
|
+
<code>rails >= 3.0.x</code>
|
20
|
+
</p>
|
21
|
+
</div>
|
22
|
+
|
23
|
+
<div>
|
24
|
+
<h1> Installation </h1>
|
25
|
+
<p>
|
26
|
+
In Gemfile
|
27
|
+
</p>
|
28
|
+
<p>
|
29
|
+
<code>gem "bbc_api", "0.1.1" </code>
|
30
|
+
</p>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<div>
|
34
|
+
<h1> USAGE</h1>
|
35
|
+
<p>
|
36
|
+
<code>require 'bbc_api'</code><br/>
|
37
|
+
<code>bbc = BBC::Api.new</code><br/>
|
38
|
+
<b>Get The topics</b><br/>
|
39
|
+
<code>bbc.topics</code><br/>
|
40
|
+
<p><b>It will return all the topics like Headlines,Technology,entertainment,world,uk...etc</b></p>
|
41
|
+
<code>bbc.topics.first.stories</code>
|
42
|
+
<p><b>It will return the stories or the news of the corresponding topic..</b></p>
|
43
|
+
<h2>Now You can access This Attributes of the Story</h2>
|
44
|
+
<p><b><code>bbc.topics.first.stories.title</code><span>the title of that newz</span><br/>
|
45
|
+
<code>bbc.topics.first.stories.link</code><span>the link of that newz</span><br/>
|
46
|
+
<code>bbc.topics.first.stories.image</code><span>the image of that newz</span><br/>
|
47
|
+
<code>bbc.topics.first.stories.description</code><span>the description of that newz</span></b>
|
48
|
+
</p>
|
49
|
+
</p>
|
50
|
+
</body>
|
51
|
+
</html>
|
data/lib/bbc/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
module BbcApi
|
2
|
-
Version = "0.1.
|
3
|
-
end
|
1
|
+
module BbcApi
|
2
|
+
Version = "0.1.1"
|
3
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bbc_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -51,6 +51,6 @@ rubyforge_project:
|
|
51
51
|
rubygems_version: 1.8.24
|
52
52
|
signing_key:
|
53
53
|
specification_version: 3
|
54
|
-
summary: Integrate BBC world
|
54
|
+
summary: Integrate BBC world NEWS API to get all topic(UK newz,headlines,world newz,technology newz...) wise newz.
|
55
55
|
test_files: []
|
56
56
|
has_rdoc:
|