Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2022-02-22 08:39:05 +00:00
parent bf055df06e
commit 9f21dbac27
34 changed files with 1403 additions and 1403 deletions

252
m3o.go
View File

@@ -70,136 +70,136 @@ func NewClient(token string) *Client {
return &Client{
token: token,
AddressService: address.NewAddressService(token),
AnswerService: answer.NewAnswerService(token),
AppService: app.NewAppService(token),
AvatarService: avatar.NewAvatarService(token),
CacheService: cache.NewCacheService(token),
CarbonService: carbon.NewCarbonService(token),
ChatService: chat.NewChatService(token),
CommentsService: comments.NewCommentsService(token),
ContactService: contact.NewContactService(token),
CryptoService: crypto.NewCryptoService(token),
CurrencyService: currency.NewCurrencyService(token),
DbService: db.NewDbService(token),
EmailService: email.NewEmailService(token),
EmojiService: emoji.NewEmojiService(token),
EvchargersService: evchargers.NewEvchargersService(token),
EventService: event.NewEventService(token),
FileService: file.NewFileService(token),
ForexService: forex.NewForexService(token),
FunctionService: function.NewFunctionService(token),
GeocodingService: geocoding.NewGeocodingService(token),
GifsService: gifs.NewGifsService(token),
GoogleService: google.NewGoogleService(token),
HelloworldService: helloworld.NewHelloworldService(token),
HolidaysService: holidays.NewHolidaysService(token),
IdService: id.NewIdService(token),
ImageService: image.NewImageService(token),
IpService: ip.NewIpService(token),
JokeService: joke.NewJokeService(token),
ListsService: lists.NewListsService(token),
LocationService: location.NewLocationService(token),
MemegenService: memegen.NewMemegenService(token),
MinecraftService: minecraft.NewMinecraftService(token),
MovieService: movie.NewMovieService(token),
MqService: mq.NewMqService(token),
NewsService: news.NewNewsService(token),
NftService: nft.NewNftService(token),
NotesService: notes.NewNotesService(token),
OtpService: otp.NewOtpService(token),
PingService: ping.NewPingService(token),
PlaceService: place.NewPlaceService(token),
PostcodeService: postcode.NewPostcodeService(token),
PrayerService: prayer.NewPrayerService(token),
QrService: qr.NewQrService(token),
QuranService: quran.NewQuranService(token),
RoutingService: routing.NewRoutingService(token),
RssService: rss.NewRssService(token),
SearchService: search.NewSearchService(token),
SentimentService: sentiment.NewSentimentService(token),
SmsService: sms.NewSmsService(token),
SpaceService: space.NewSpaceService(token),
SpamService: spam.NewSpamService(token),
StockService: stock.NewStockService(token),
StreamService: stream.NewStreamService(token),
SunnahService: sunnah.NewSunnahService(token),
ThumbnailService: thumbnail.NewThumbnailService(token),
TimeService: time.NewTimeService(token),
TranslateService: translate.NewTranslateService(token),
TwitterService: twitter.NewTwitterService(token),
UrlService: url.NewUrlService(token),
UserService: user.NewUserService(token),
VehicleService: vehicle.NewVehicleService(token),
WeatherService: weather.NewWeatherService(token),
YoutubeService: youtube.NewYoutubeService(token),
Address: address.NewAddressService(token),
Answer: answer.NewAnswerService(token),
App: app.NewAppService(token),
Avatar: avatar.NewAvatarService(token),
Cache: cache.NewCacheService(token),
Carbon: carbon.NewCarbonService(token),
Chat: chat.NewChatService(token),
Comments: comments.NewCommentsService(token),
Contact: contact.NewContactService(token),
Crypto: crypto.NewCryptoService(token),
Currency: currency.NewCurrencyService(token),
Db: db.NewDbService(token),
Email: email.NewEmailService(token),
Emoji: emoji.NewEmojiService(token),
Evchargers: evchargers.NewEvchargersService(token),
Event: event.NewEventService(token),
File: file.NewFileService(token),
Forex: forex.NewForexService(token),
Function: function.NewFunctionService(token),
Geocoding: geocoding.NewGeocodingService(token),
Gifs: gifs.NewGifsService(token),
Google: google.NewGoogleService(token),
Helloworld: helloworld.NewHelloworldService(token),
Holidays: holidays.NewHolidaysService(token),
Id: id.NewIdService(token),
Image: image.NewImageService(token),
Ip: ip.NewIpService(token),
Joke: joke.NewJokeService(token),
Lists: lists.NewListsService(token),
Location: location.NewLocationService(token),
Memegen: memegen.NewMemegenService(token),
Minecraft: minecraft.NewMinecraftService(token),
Movie: movie.NewMovieService(token),
Mq: mq.NewMqService(token),
News: news.NewNewsService(token),
Nft: nft.NewNftService(token),
Notes: notes.NewNotesService(token),
Otp: otp.NewOtpService(token),
Ping: ping.NewPingService(token),
Place: place.NewPlaceService(token),
Postcode: postcode.NewPostcodeService(token),
Prayer: prayer.NewPrayerService(token),
Qr: qr.NewQrService(token),
Quran: quran.NewQuranService(token),
Routing: routing.NewRoutingService(token),
Rss: rss.NewRssService(token),
Search: search.NewSearchService(token),
Sentiment: sentiment.NewSentimentService(token),
Sms: sms.NewSmsService(token),
Space: space.NewSpaceService(token),
Spam: spam.NewSpamService(token),
Stock: stock.NewStockService(token),
Stream: stream.NewStreamService(token),
Sunnah: sunnah.NewSunnahService(token),
Thumbnail: thumbnail.NewThumbnailService(token),
Time: time.NewTimeService(token),
Translate: translate.NewTranslateService(token),
Twitter: twitter.NewTwitterService(token),
Url: url.NewUrlService(token),
User: user.NewUserService(token),
Vehicle: vehicle.NewVehicleService(token),
Weather: weather.NewWeatherService(token),
Youtube: youtube.NewYoutubeService(token),
}
}
type Client struct {
token string
AddressService *address.AddressService
AnswerService *answer.AnswerService
AppService *app.AppService
AvatarService *avatar.AvatarService
CacheService *cache.CacheService
CarbonService *carbon.CarbonService
ChatService *chat.ChatService
CommentsService *comments.CommentsService
ContactService *contact.ContactService
CryptoService *crypto.CryptoService
CurrencyService *currency.CurrencyService
DbService *db.DbService
EmailService *email.EmailService
EmojiService *emoji.EmojiService
EvchargersService *evchargers.EvchargersService
EventService *event.EventService
FileService *file.FileService
ForexService *forex.ForexService
FunctionService *function.FunctionService
GeocodingService *geocoding.GeocodingService
GifsService *gifs.GifsService
GoogleService *google.GoogleService
HelloworldService *helloworld.HelloworldService
HolidaysService *holidays.HolidaysService
IdService *id.IdService
ImageService *image.ImageService
IpService *ip.IpService
JokeService *joke.JokeService
ListsService *lists.ListsService
LocationService *location.LocationService
MemegenService *memegen.MemegenService
MinecraftService *minecraft.MinecraftService
MovieService *movie.MovieService
MqService *mq.MqService
NewsService *news.NewsService
NftService *nft.NftService
NotesService *notes.NotesService
OtpService *otp.OtpService
PingService *ping.PingService
PlaceService *place.PlaceService
PostcodeService *postcode.PostcodeService
PrayerService *prayer.PrayerService
QrService *qr.QrService
QuranService *quran.QuranService
RoutingService *routing.RoutingService
RssService *rss.RssService
SearchService *search.SearchService
SentimentService *sentiment.SentimentService
SmsService *sms.SmsService
SpaceService *space.SpaceService
SpamService *spam.SpamService
StockService *stock.StockService
StreamService *stream.StreamService
SunnahService *sunnah.SunnahService
ThumbnailService *thumbnail.ThumbnailService
TimeService *time.TimeService
TranslateService *translate.TranslateService
TwitterService *twitter.TwitterService
UrlService *url.UrlService
UserService *user.UserService
VehicleService *vehicle.VehicleService
WeatherService *weather.WeatherService
YoutubeService *youtube.YoutubeService
Address address.Address
Answer answer.Answer
App app.App
Avatar avatar.Avatar
Cache cache.Cache
Carbon carbon.Carbon
Chat chat.Chat
Comments comments.Comments
Contact contact.Contact
Crypto crypto.Crypto
Currency currency.Currency
Db db.Db
Email email.Email
Emoji emoji.Emoji
Evchargers evchargers.Evchargers
Event event.Event
File file.File
Forex forex.Forex
Function function.Function
Geocoding geocoding.Geocoding
Gifs gifs.Gifs
Google google.Google
Helloworld helloworld.Helloworld
Holidays holidays.Holidays
Id id.Id
Image image.Image
Ip ip.Ip
Joke joke.Joke
Lists lists.Lists
Location location.Location
Memegen memegen.Memegen
Minecraft minecraft.Minecraft
Movie movie.Movie
Mq mq.Mq
News news.News
Nft nft.Nft
Notes notes.Notes
Otp otp.Otp
Ping ping.Ping
Place place.Place
Postcode postcode.Postcode
Prayer prayer.Prayer
Qr qr.Qr
Quran quran.Quran
Routing routing.Routing
Rss rss.Rss
Search search.Search
Sentiment sentiment.Sentiment
Sms sms.Sms
Space space.Space
Spam spam.Spam
Stock stock.Stock
Stream stream.Stream
Sunnah sunnah.Sunnah
Thumbnail thumbnail.Thumbnail
Time time.Time
Translate translate.Translate
Twitter twitter.Twitter
Url url.Url
User user.User
Vehicle vehicle.Vehicle
Weather weather.Weather
Youtube youtube.Youtube
}