MCPcopy Index your code
hub / github.com/Preloading/TwitterAPIBridge / GetSettings

Function GetSettings

twitterv1/account.go:68–100  ·  view source on GitHub ↗

TODO

(c *fiber.Ctx)

Source from the content-addressed store, hash-verified

66
67// TODO
68func GetSettings(c *fiber.Ctx) error {
69 settings := bridge.Config{
70 SleepTime: bridge.SleepTime{
71 EndTime: nil,
72 Enabled: true,
73 StartTime: nil,
74 },
75 TrendLocation: []bridge.TrendLocation{
76 {
77 Name: "Worldwide",
78 Woeid: 1,
79 PlaceType: bridge.PlaceType{
80 Name: "Supername",
81 Code: 19,
82 },
83 Country: "",
84 URL: "http://where.yahooapis.com/v1/place/1",
85 CountryCode: nil,
86 },
87 },
88 Language: "en",
89 AlwaysUseHttps: false,
90 DiscoverableByEmail: true,
91 TimeZone: bridge.TimeZone{
92 Name: "Pacific Time (US & Canada)",
93 TzinfoName: "America/Los_Angeles",
94 UtcOffset: -28800,
95 },
96 GeoEnabled: true,
97 }
98 return EncodeAndSend(c, settings)
99
100}
101
102func UpdateProfile(c *fiber.Ctx) error {
103 // auth

Callers

nothing calls this directly

Calls 1

EncodeAndSendFunction · 0.85

Tested by

no test coverage detected