Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 1.56 KB

File metadata and controls

40 lines (22 loc) · 1.56 KB

.NET Unit Tests

A complete C#.NET lib for Workflowy API, also for your frotend needs, a JS lib with the correspoing C# MVC controller

.NET Core 8 and onwards.


WorkFlowy API docs: https://beta.workflowy.com/api-reference/

Grab your api key at: https://workflowy.com/api-key

NuGet: https://www.nuget.org/packages/WorkflowyNetAPI/


ToDo's:

CONTINUAR: código.js fazer em Typescript q compilo condicionalmente (acho q deve ter isso) pra um repo workflow.js a parte 😆

CONTINUAR: criei a classe WFTreeNode, mas acho q é desperdício... - pedir pra IA como ela estruturaria as classes

CONTINUAR: criar uma forma de buscar um node pela hash do site - #/7e4ad30626b7

Lib WF mais próxima de ter oq preciso de essencial/sem desperdicios

  • Utilities

    • WFAPI class: implement a method to get all items recursively (get all children of a given item id, and their children, etc)
    • Method to export in various formats (txt, json, xml, etc)
  • Test: mirrors aparecem como qo exportar toda árvore?

  • Add a secure a C# controller/backend for the JS API that just does the proxy call to WF API, so the REST call signature is in the frontend, but the actual call is done in the backend (to avoid CORS issues and exposing API key in frontend).

    • Ask AI if there a lib for that
    • Keep the normal controller for Swagger docs and direct backend calls
  • Create a MCP AI project