- EULex.NET provides an API for European Union legal data available on the EUR-Lex web site
- EULex.NET is open source and is free for any use
- EULex.NET works on multiple platforms, desktop and mobile.
- More features are planned: RSS feeds, content files (HTML, PDF, etc.).
Usage
- Register to use the EUR-Lex web service by following the procedure described on their web site.
- Add the NuGet package to your project.
- You can now search and retrieve metadata using the EULex.NET API :
using (var client = new Client (username, password)) { var request = new SearchRequest { ExpertQuery = "TI ~ privacy", SearchLanguage = Language.en, PageSize = 10, Page = 1 }; var response = await client.DoQueryAsync (request); var notice = response.Results[0].Content.Notice; var title = notice.Expression?.Title[0].Value; }