IS24RestApi is available as a NuGet package.
ImportExportClient class has CRUD methods for all resource types and the
SampleConsole project shows a few uses.
You need to acquire OAuth credentials beforehand
(e.g. by carrying out these steps)
and put them in the config.json file that's read from the current working directory at runtime (see the included config.example.json file).
AuthorizeAsync method shows how to perform the OAuth authorization steps programmatically.
All API calls are carried out asynchronously and the paging call
uses Reactive Extensions to return the real estate objects both lazily and asynchronously.
Regenerating API Types
The classes in the Types.generated.cs file were generated from the XSD files provided by IS24 using XmlSchemaClassGenerator. There are two dotnet-script scripts in the xsd folder to automate this process.
DownloadSchemaFiles.csxdownloads all .xsd files from here and moves
messages*.xsdto the includes folder.
GenerateClasses.csxgenerates .cs files into the
Pull requests to improve are welcome :)