📰 All Zim News

All Zim News is a central hub for comprehensive coverage of Zimbabwean current affairs, delivering timely updates on politics, economics, social issues, and cultural developments to keep you informed about the pulse of the nation.

Bulawayo24 News API Documentation

Welcome to the Bulawayo24 News API documentation. An easy way to integrate latest news or a selection of stories on your website.

With Byo24News API you wont need to search for any news stories instead all the stories will be published to your website every time Bulawayo24 News is updated.

Listed below are examples of who the API can be embedded into you website or blog.

For assistance with Byo24News API contact our team at developers[at]bulawayo24[dot]com.

Example 1 (Dynamic)

Render

The above code sample renders this: working example http://www.zimbabweactiongroup.org/index.php?id=News

Example 2 (Selected story)

Render

The above code sample renders these four selected stories: working example wwww.visionsfm.com
To select a story use the byo number which is found on the url of every story, as shown below

http://bulawayo24.com/index-id-news-sc-national-byo-7390-article-new-born+baby+butchered+to+conceal+affair+with+uncle%27s+wife.html

The byo number is 7390

Example 3 (Full story) Dynamic

Render

With the max_words set to full_story as above you get a full story as show below:

A few components of Byo24News API

  • Number of stories, value (l) default: 6
  • IMAGES ALIGN value (align_img) default: left
  • Maximum words per story value (max_words) default 400
  • Width of the frame value (w) default: 100%
  • height of the frame value (h) default:
  • Font-family value (f) default: Tahoma,Verdana,Arial,Helvetica,sans-serif”;
  • Font-size in pixels value (fz) default: 11
  • Font color in hexadecimal without # value (color) default:333333
  • Background color value (bg) default:transparent
  • Image width value (img_w) default: 67
  • Border_bottom value (border_bottom) default: 1px dotted silver
  • Image padding value (padding) default:0
  • Positioning the story title there are 2 options top or bottom, value (title) default:top
  • The date can be turned off by using value (date) set to (off)

JSON API

Discontinued

Source: Bulawayo24

By