{"id":15040008,"url":"https://github.com/mprep-btc/unofficial-bitcointalk-api","last_synced_at":"2025-04-10T00:07:10.574Z","repository":{"id":54260233,"uuid":"81467313","full_name":"mprep-btc/Unofficial-Bitcointalk-API","owner":"mprep-btc","description":"Unofficial C# / .NET library for fetching Bitcointalk.org boards, topics and posts","archived":false,"fork":false,"pushed_at":"2020-11-26T06:00:53.000Z","size":132,"stargazers_count":16,"open_issues_count":0,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-10T00:07:04.256Z","etag":null,"topics":["bitcoin","c-sharp","dot-net","forums"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mprep-btc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-09T15:57:25.000Z","updated_at":"2020-11-26T06:04:48.000Z","dependencies_parsed_at":"2022-08-13T10:20:14.514Z","dependency_job_id":null,"html_url":"https://github.com/mprep-btc/Unofficial-Bitcointalk-API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mprep-btc%2FUnofficial-Bitcointalk-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mprep-btc%2FUnofficial-Bitcointalk-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mprep-btc%2FUnofficial-Bitcointalk-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mprep-btc%2FUnofficial-Bitcointalk-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mprep-btc","download_url":"https://codeload.github.com/mprep-btc/Unofficial-Bitcointalk-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131317,"owners_count":21052819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin","c-sharp","dot-net","forums"],"created_at":"2024-09-24T20:44:06.293Z","updated_at":"2025-04-10T00:07:10.545Z","avatar_url":"https://github.com/mprep-btc.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unofficial Bitcointalk API\nC# / .NET library for fetching Bitcointalk.org boards, topics and posts.\n\n## Features\n* Fetch topics from board pages and posts from topic pages or the \"Recent Posts\" page.\n* Get post's message\u003csup\u003e\\*\u003c/sup\u003e, URL, title, number in topic, creation date, author's username and profile link.\n* Quickly fetch post messages from the entire topic (other data will require additional fetching).\n* Fully commented code for developing extensions / different versions.\n\n\u003csub\u003e\\* 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.\u003c/sub\u003e\n## Usage examples\n\n#### Print out all posts from a single topic page\n``` cs\n/*\nusing BitcointalkAPI;\nusing BitcointalkAPI.Utilities;\nusing System;\nusing System.Collections.Generic;\n\n...\n*/\n\nTopic newTopic = new Topic(@\"https://bitcointalk.org/index.php?topic=1.0\", new WebConfig(2000));\nICollection\u003cPost\u003e posts = newTopic.GetPosts(1);\n\nforeach (Post post in posts)\n{\n    Console.WriteLine(post.Message);\n}\n```\n\n#### Print out all topic links from the first 5 board pages (fetching board pages with a 2 second delay)\n``` cs\n/*\nusing BitcointalkAPI;\nusing BitcointalkAPI.Utilities;\nusing System;\nusing System.Collections.Generic;\n\n...\n*/\n\nBoard board = new Board(@\"https://bitcointalk.org/index.php?board=1.0\", new WebConfig(2000));\nICollection\u003cTopic\u003e allTopics = board.GetTopics(1, 5);\n\nforeach (Topic topic in allTopics)\n{\n    Console.WriteLine(topic.Link);\n}\n```\n\n## Installation instructions\n\n1. Download the latest version of the DLLs from the [Binaries folder](/Binaries);\n2. Open up the project you want to use the library for in Microsoft Visual Studio;\n3. Add the libraries to your project's \"**References**\":\n  * In Visual Studio Community 2015:\n    * Open up the \"**Solution Explorer**\";\n    * Go to \"**Solution '*[Your solution name]*'**\" \u003e \"***[Project name]***\";\n    * Right click on \"**References**\" and click \"**Add references...**\";\n    * Select the \"**Browse**\" tab and click the \"**Browse...**\" button;\n    * Navigate to the \"**BitcointalkAPI.dll**\" file and select it;\n    * Click \"**OK**\".\n4. *(Optional) Include the \"using BitcointalkAPI;\" and \"using BitcointalkAPI.Utilities;\" lines in every source file you use the library in for easier access.*\n\n**OR**\n\n1. Clone or download the project's repository;\n2. Open up the \"**BitcointalkAPI.sln**\" project file with Microsoft Visual Studio Community 2015 (or any other compatible Visual Studio version);\n3. Go to \"**Project**\" \u003e \"**Manage NuGet Packages...**\";\n4. Redownload and reinstall the missing \"**HTML Agility Pack**\" package (Visual Studio should prompt you to do so);\n5. Make sure the \"**Release**\" configuration is selected (at the top; near the \"Start button\");\n6. Build the solution (\"**Build**\" \u003e \"**Build Solution**\");\n7. Follow the previous instructions from step 2.\n\n## Dependancies\n\n* [HTML Agility Pack](http://www.nuget.org/packages/HtmlAgilityPack) (license: [MS-PL](https://msdn.microsoft.com/en-us/library/ff647676.aspx));\n* .NET Framework 4.6.1 (may work with an older version, though untested).\n\n## License\nThe 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](LICENSE).\n\n## Major changes\n\nv0.5 - initial release.\n\n## Donations\n\nDonations are welcome: 1**mprep**xqZeK7LcRYEz84DVJKCvF8CQ8gu\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmprep-btc%2Funofficial-bitcointalk-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmprep-btc%2Funofficial-bitcointalk-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmprep-btc%2Funofficial-bitcointalk-api/lists"}