A Bug Report System integrate with other plateform(currently Im using this project on my games)
Download dll, and import into your project
Below is a simple code sample usecase
Trello API & TOKEN link: [https://trello.com/app-key]
YOUR_TRELLO_API_KEY
is your trello api keyYOUR_TRELLO_API_TOKEN
is your trello api tokenYOUR_TRELLO_BOARD_NAME
is your trello board ID, which you can find it at your board url which looks like this:https://trello.com/b/YOUR_TRELLO_BOARD_ID/YOUR_BOARD_NAME
YOUR_TRELLO_DEFAULT_LIST_NAME
is your trello board list name
using BugReportSystem;
public class Program{
public static async Task Main(string[] args)
{
//Create Bug report instance
BugReport bugReport = new BugReport();
//Every plateform may have different parameters
//In this case, using trello, there are few parameters you must to filled in, and able to use the trello api
bugReport.allItems[BugReport.SupportItemIndex.Trello].parameters["API_KEY"] = "YOUR_API_KEY";
bugReport.allItems[BugReport.SupportItemIndex.Trello].parameters["API_TOKEN"] = "YOUR_API_TOKEN";
bugReport.allItems[BugReport.SupportItemIndex.Trello].parameters["BOARD_NAME"] = "YOUR_BOARD_ID";
bugReport.allItems[BugReport.SupportItemIndex.Trello].parameters["DEFAULT_LIST_NAME"] = "YOUR_CARD_LIST_DEFAULT_NAME";
//The actual report context
bugReport.title = "Obiwan Bug Report";
bugReport.summary = "Hello There!";
bugReport.sendTime = DateTime.Now;
//attachment is optional
//bugReport.attachment = File.ReadAllBytes("image.jpg");
//If return true, that's mean all the operation are successful executed
bool success = await bugReport.SendReport();
Console.WriteLine(success);
}
}
There you go!
Also you may reference BugReportSystemSample
C# console project to how you apply and use the BugReportSystem
Support Platform | Status |
---|---|
Trello | ✅ |
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request