Skip to content

Commit

Permalink
Relase 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyrus-Sushiant committed Apr 23, 2022
1 parent 67f91df commit 003df15
Show file tree
Hide file tree
Showing 41 changed files with 1,468 additions and 1,830 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt → LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) [year] [fullname]
Copyright (c) 2022 SmartClouds

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 4 additions & 2 deletions MoodleApi.Example/Program.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
using MoodleApi;

var moodle = new Moodle("https://www.moodle.org/");
var authentiactionResult = await moodle.Login("mr.aminsafaei", "123456");
var authentiactionResult = await moodle.Login("aminsafaei.info", "123456");
if (authentiactionResult.Succeeded)
{
var siteInfo = await moodle.GetSiteInfo();

Console.WriteLine($"Site Name: {siteInfo.Data.SiteName}");
}

Console.WriteLine("Hello, World!");
Console.ReadLine();
Loading

0 comments on commit 003df15

Please sign in to comment.