All Projects → mprep-btc → Unofficial-Bitcointalk-API

mprep-btc / Unofficial-Bitcointalk-API

Licence: AGPL-3.0 license
Unofficial C# / .NET library for fetching Bitcointalk.org boards, topics and posts

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to Unofficial-Bitcointalk-API

Atles
A forum software built with ASP.NET Core Blazor WebAssembly
Stars: ✭ 88 (+450%)
Mutual labels:  forums
ArcaneManagedFbx
C# and .NET Framework wrapper for the Autodesk FBX SDK written in C++/CLI (managed C++).
Stars: ✭ 36 (+125%)
Mutual labels:  dot-net
Simplify.Web
Moved to https://github.com/SimplifyNet. Simplify.Web is a lightweight and fast server-side .NET web-framework based on MVC and OWIN for building HTTP based web-applications, RESTful APIs etc.
Stars: ✭ 23 (+43.75%)
Mutual labels:  dot-net
Laravel.io
The Laravel.io Community Portal.
Stars: ✭ 1,993 (+12356.25%)
Mutual labels:  forums
Vanilla
Vanilla is a powerfully simple discussion forum you can easily customize to make as unique as your community.
Stars: ✭ 2,460 (+15275%)
Mutual labels:  forums
DiscuzHub
A Discuz X android app
Stars: ✭ 73 (+356.25%)
Mutual labels:  forums
Forums
Awesome Forums
Stars: ✭ 20 (+25%)
Mutual labels:  forums
askbot-devel
Askbot is a Django/Python Q&A forum. **Contributors README**: https://github.com/ASKBOT/askbot-devel#how-to-contribute. Commercial hosting of Askbot and support are available at https://askbot.com
Stars: ✭ 1,528 (+9450%)
Mutual labels:  forums
FineCodeCoverage
Visualize unit test code coverage easily for free in Visual Studio Community Edition (and other editions too)
Stars: ✭ 391 (+2343.75%)
Mutual labels:  dot-net
react-forum-system
React Forum System
Stars: ✭ 16 (+0%)
Mutual labels:  forums
Torrentpier
Main project repository
Stars: ✭ 166 (+937.5%)
Mutual labels:  forums
Misago
Misago is fully featured modern forum application that is fast, scalable and responsive.
Stars: ✭ 2,170 (+13462.5%)
Mutual labels:  forums
tortuga
A modern game engine built using dot net core
Stars: ✭ 14 (-12.5%)
Mutual labels:  dot-net
Popforums
A forum application running on ASP.NET Core, available in six languages.
Stars: ✭ 145 (+806.25%)
Mutual labels:  forums
taxjar.net
Sales Tax API Client for .NET / C#
Stars: ✭ 21 (+31.25%)
Mutual labels:  dot-net
Thredded
The best Rails forums engine ever.
Stars: ✭ 1,263 (+7793.75%)
Mutual labels:  forums
GatewayService
GatewayService (Ocelot).
Stars: ✭ 19 (+18.75%)
Mutual labels:  dot-net
Inquirer.cs
A collection of common interactive command line user interfaces. Port of Inquirer.js
Stars: ✭ 26 (+62.5%)
Mutual labels:  dot-net
raml-dotnet-parser-2
No description or website provided.
Stars: ✭ 17 (+6.25%)
Mutual labels:  dot-net
FluxBB by Visman
My modification of FluxBB
Stars: ✭ 50 (+212.5%)
Mutual labels:  forums

Unofficial Bitcointalk API

C# / .NET library for fetching Bitcointalk.org boards, topics and posts.

Features

  • Fetch topics from board pages and posts from topic pages or the "Recent Posts" page.
  • Get post's message*, URL, title, number in topic, creation date, author's username and profile link.
  • Quickly fetch post messages from the entire topic (other data will require additional fetching).
  • Fully commented code for developing extensions / different versions.

* The message is stripped of [code] fields, quotes, images, links (as in href'ed URLs), smileys (replaced with a selected string) and new lines / line breaks. Feel free to create your own modification.

Usage examples

Print out all posts from a single topic page

/*
using BitcointalkAPI;
using BitcointalkAPI.Utilities;
using System;
using System.Collections.Generic;

...
*/

Topic newTopic = new Topic(@"https://bitcointalk.org/index.php?topic=1.0", new WebConfig(2000));
ICollection<Post> posts = newTopic.GetPosts(1);

foreach (Post post in posts)
{
    Console.WriteLine(post.Message);
}

Print out all topic links from the first 5 board pages (fetching board pages with a 2 second delay)

/*
using BitcointalkAPI;
using BitcointalkAPI.Utilities;
using System;
using System.Collections.Generic;

...
*/

Board board = new Board(@"https://bitcointalk.org/index.php?board=1.0", new WebConfig(2000));
ICollection<Topic> allTopics = board.GetTopics(1, 5);

foreach (Topic topic in allTopics)
{
    Console.WriteLine(topic.Link);
}

Installation instructions

  1. Download the latest version of the DLLs from the Binaries folder;
  2. Open up the project you want to use the library for in Microsoft Visual Studio;
  3. Add the libraries to your project's "References":
  • In Visual Studio Community 2015:
    • Open up the "Solution Explorer";
    • Go to "Solution '[Your solution name]'" > "[Project name]";
    • Right click on "References" and click "Add references...";
    • Select the "Browse" tab and click the "Browse..." button;
    • Navigate to the "BitcointalkAPI.dll" file and select it;
    • Click "OK".
  1. (Optional) Include the "using BitcointalkAPI;" and "using BitcointalkAPI.Utilities;" lines in every source file you use the library in for easier access.

OR

  1. Clone or download the project's repository;
  2. Open up the "BitcointalkAPI.sln" project file with Microsoft Visual Studio Community 2015 (or any other compatible Visual Studio version);
  3. Go to "Project" > "Manage NuGet Packages...";
  4. Redownload and reinstall the missing "HTML Agility Pack" package (Visual Studio should prompt you to do so);
  5. Make sure the "Release" configuration is selected (at the top; near the "Start button");
  6. Build the solution ("Build" > "Build Solution");
  7. Follow the previous instructions from step 2.

Dependancies

License

The project's files (except for the ones belonging to the HTML Agility Pack (HTMLAgilityPack.dll and HTMLAgilityPack.xml) in the Binaries folder and subfolders) are licensed under the AGPL 3.0 license.

Major changes

v0.5 - initial release.

Donations

Donations are welcome: 1mprepxqZeK7LcRYEz84DVJKCvF8CQ8gu

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].