Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bbc_api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bbc_api

  • 0.2.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source
BBC API INTEGRATION

BBC WORLD NEWS API Integration

Build Status

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

System Requirements

Ruby >= 1.9.3 or jruby >=1.7.x
rails >= 3.0.x

Installation

In Gemfile

gem "bbc_api", "0.2.2"

USAGE

require 'bbc_api'
bbc = BBC::Api.new
Get The topics
bbc.topics

It will return all the topics like Headlines,Technology,entertainment,world,uk...etc

bbc.topics.first.stories

It will return the stories or the news of the corresponding topic..

Now You can access the attributes of that NEWZ

bbc.topics.first.stories.titlethe title of that newz
bbc.topics.first.stories.linkthe link of that newz
bbc.topics.first.stories.imagethe image of that newz
bbc.topics.first.stories.descriptionthe description of that newz

FAQs

Package last updated on 19 Aug 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc