☁️
bleach Docs
CtrlK
  • Welcome to aportalsmp!
  • Getting Started
    • Changes
    • Installing
    • Limits
  • Documentation
    • aportalsmp.auth
      • update_auth
    • aportalsmp.gifts
      • search
      • marketActivity
      • giftsFloors
      • filterFloors
      • collections
      • buy
      • changePrice
      • sale
      • bulkList
      • myPortalsGifts
      • myActivity
    • aportalsmp.offers
      • makeOffer
      • editOffer
      • cancelOffer
      • collectionOffer
      • editCollectionOffer
      • cancelCollectionOffer
      • allCollectionOffers
      • topOffer
      • myReceivedOffers
      • myPlacedOffers
      • myCollectionOffers
    • aportalsmp.account
      • myPoints
      • myStats
      • myBalances
      • withdrawPortals
    • aportalsmp.classes.Objects
      • Gifts
        • PortalsGift
        • Activity
        • CollectionItem
        • GiftsFloors
        • Filters
        • Collections
        • SaleResult
        • MyActivity
      • Offers
        • CollectionOffer
        • GiftOffer
      • Account
        • Points
        • Stats
        • Balances
    • aportalsmp.classes.Exceptions
  • Info
    • Contacts & donations
Powered by GitBook
On this page
Export as PDF
  1. Documentation
  2. aportalsmp.classes.Objects
  3. Gifts

Activity

Activity object

Methods:

  • .toDict(): Converts the Activity object back to a dictionary format.

Attributes:

  • .nft: Returns a PortalsGift object. See PortalsGift

  • .offer_id: If activity type is offer, it will return it's id. If not, will return None.

  • .type: activity type

  • .amount: price of the NFT

  • .created_at: date+time of when the activity has been created

PreviousPortalsGiftNextCollectionItem

Last updated 16 days ago