Skip to content

Meetup api for C# cross developers. Pull Requests welcome!

License

Notifications You must be signed in to change notification settings

soydachi/MeetupApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeekyTool

Meetup.Api is a portable class library for meetup.

master dev
Build status Build status

Install Meetup.Api using NuGet

Package State Description
Comming soon... Comming soon... Comming soon...

Table of contents

  1. Documentation
  2. Example
  3. How to contribute
  4. Author
  5. Contributors
  6. License

Documentation

See wiki (under construction...)

Example

var urlName = "CrossDevelopment-Madrid";
var bid = "20671181";
var did = "49893227";

// Fetches a Meetup Event by group urlname and event_id
var result = await MeetupApi.Events.ByIdAsync(urlName, id, CancellationToken.None);

// Listings of Group discussion boards
var result = await MeetupApi.Boards.All(urlName, CancellationToken.None);

// Listings of group discussions
var result = await MeetupApi.Boards.Discussions(urlName, bid, CancellationToken.None);

// Listing Group discussion posts
var result = await MeetupApi.Boards.Discussion(urlName, bid, did, CancellationToken.None);

How to contribute

Contributions are quite welcome, though some rules should be followed!

1. C# Coding Style

The general rule we follow is "use Visual Studio defaults".

  1. Use Allman style braces
  2. Use camelCase private members and use readonly where possible
  3. Avoid this. unless absolutely necessary
  4. Always specify the visiblity, even if it's the default (i.e. private string foo not string foo)
  5. Namespace imports should be specified at the top of the file, outside of namespace declarations and should be sorted alphabetically, with System. namespaces at the top and blank lines between different top level groups

2. How to order functions in file or class

  • private member, protected member
  • private type, public type, protected enum
  • public constructor
  • public property
  • public function, private function

3. Getting Started

Just fork and clone this repository. Then you need to create in the root Meetup.Api the SecretKeys.cs class.

internal static class SecretKeys
{
    internal const string ApiKey = "";
    internal static readonly string ApiKeyUrl = $"key={ApiKey}&sign=true";
}

You can find your ApiKey value here: https://secure.meetup.com/es-ES/meetup_api/key/

Don't give away your API key. Your key exposes the Meetup groups you've joined, even private groups. It's personal and belongs to you, like your account password. If you do want a third party service to be able to use your key temporarily and give them the key, you can reset it by clicking the button below. Once reset, your old key is invalidated and no longer works with our API.

  • Pull request will only accepted from /develop branch

Author

Dachi
Dachi Gogotchuri

Contributors

Contributor photo
Contributor Name

License

MIT License

Copyright (c) 2019 Dachi Gogotchuri

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

Meetup api for C# cross developers. Pull Requests welcome!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published